-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.38 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
{
"name": "dts-issue137",
"version": "0.1.0",
"license": "MIT",
"author": "唯然",
"main": "dist/index.js",
"module": "dist/dts-issue137.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"analyze": "size-limit --why",
"build": "dts build",
"lint": "dts lint",
"prepare": "dts build",
"size": "size-limit",
"start": "dts watch",
"test": "dts test --passWithNoTests"
},
"husky": {
"hooks": {
"pre-commit": "dts lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"testEnvironment": "jsdom"
},
"peerDependencies": {
"react": ">=16"
},
"engines": {
"node": ">=12"
},
"size-limit": [
{
"path": "dist/dts-issue137.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/dts-issue137.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@rollup/plugin-alias": "^3.1.9",
"@size-limit/preset-small-lib": "^7.0.8",
"@tsconfig/create-react-app": "^1.0.2",
"@tsconfig/recommended": "^1.0.1",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"dts-cli": "^1.4.0",
"husky": "^7.0.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"size-limit": "^7.0.8",
"tslib": "^2.3.1",
"typescript": "^4.5.5"
}
}