-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
73 lines (73 loc) · 1.69 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
69
70
71
72
73
{
"name": "trouty",
"author": "Allan Hortle",
"module": "dist/trouty.esm.js",
"version": "0.9.1",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"!dist/__tests__"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint && yarn pretty-quick --staged"
}
},
"size-limit": [
{
"path": "dist/trouty.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/trouty.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^5.0.3",
"@swc/core": "^1.3.59",
"@swc/helpers": "^0.5.1",
"@swc/jest": "^0.2.26",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"@types/react-router-dom": "^5.1.8",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"husky": "^7.0.2",
"prettier": "^2.4.0",
"pretty-quick": "^3.1.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"size-limit": "^5.0.3",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.4.2"
},
"dependencies": {
"react-router-dom": "^5.2.1"
},
"resolutions": {
"**/typescript": "^4.4.2",
"**/@typescript-eslint/eslint-plugin": "^4.31.0",
"**/@typescript-eslint/parser": "^4.31.0"
}
}