-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 1.56 KB
/
package.json
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
{
"name": "@keqingrong/web-apis",
"version": "0.5.0",
"description": "Web APIs",
"author": "Qingrong Ke <keqingrong@outlook.com> (https://keqingrong.github.io/)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/keqingrong/web-apis.git"
},
"main": "dist/index.js",
"module": "dist/web-apis.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"sideEffects": false,
"keywords": [
"web",
"api",
"miniapp",
"miniprogram"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build --format cjs,esm,umd",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint src test",
"prepare": "npm run build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^4.9.1",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.11.1",
"benchmark": "^2.1.4",
"eslint-config-react-app": "^6.0.0",
"husky": "^4.3.6",
"node-fetch": "3.0.0-beta.9",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"size-limit": "^4.9.1",
"tsdx": "^0.14.1",
"tslib": "^2.0.3",
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint src test"
}
},
"size-limit": [
{
"path": "dist/web-apis.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/web-apis.esm.js",
"limit": "10 KB"
}
]
}