-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.67 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "async-plugins",
"version": "0.0.3",
"description": "A collection of helpful functions for async operations. 🛠",
"repository": "suhaotian/async-plugins",
"bugs": "https://github.com/suhaotian/async-plugins/issues",
"homepage": "https://github.com/suhaotian/async-plugins",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"./utils": {
"import": {
"types": "./utils.mts",
"default": "./utils.mjs"
},
"require": {
"types": "./utils.ts",
"default": "./utils.js"
}
}
},
"browserslist": [
"last 1 version",
"> 1%"
],
"scripts": {
"build": "tsup && node scripts/remove-type.mjs",
"postbuild": "is-ci || sh ./scripts/check-bundle-size.sh",
"build:lib": "rm -rf lib && tsc --project tsconfig.json",
"build:umd": "pnpm build:lib && pnpm webpack --config ./scripts/webpack.config.mjs",
"test": "vitest run --testTimeout=15000",
"checktype": "tsc --noEmit",
"start-publish": "pnpm build && pnpm build:umd && node scripts/purge-pkg-for-publish.mjs && npm publish --access public --no-git-checks --provenance --registry=https://registry.npmjs.org",
"push": "git push && git lfs push --all origin",
"prepare": "is-ci || pnpm build && husky",
"checksize": "pnpm --filter=vite-example build"
},
"dependencies": {
"tiny-lru": "^11.2.11"
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.8",
"@types/node": "^20.11.13",
"fast-glob": "^3.3.3",
"husky": "^9.1.7",
"is-ci": "^3.0.1",
"lfs-auto-track": "^1.1.1",
"lint-staged": "^15.5.0",
"prettier": "^3.5.3",
"tsup": "^8.4.0",
"typedoc": "^0.28.1",
"typescript": "^5.8.2",
"vitest": "^3.1.1",
"webpack": "^5.98.0",
"webpack-cli": "^6.0.1",
"change-case": "^5.4.4"
},
"prettier": {
"printWidth": 100,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "es5",
"bracketSameLine": true
},
"lint-staged": {
"*": [
"lfs-auto-track 'image,video,audio:100kb;*:1024kb'"
],
"*.{ts,tsx,mts}": [
"prettier --write"
],
"*.{md,css,js,mjs}": [
"prettier --write"
]
},
"files": [
"dist",
"./*.js",
"./*.mjs",
"./*.d.*",
"./chunk*",
"README.md"
],
"keywords": [
"async retry",
"async cache",
"async dedupe",
"async poll",
"async queue",
"async utils",
"async helpers"
],
"author": "suhaotian",
"license": "MIT"
}