-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpackage.json
50 lines (50 loc) · 1.51 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
{
"name": "keepalive-for-react",
"version": "0.0.0",
"private": true,
"description": "A react <KeepAlive/> component like <keep-alive/> in vue",
"lint-staged": {
"*": [
"prettier --write --cache --ignore-unknown"
],
"packages/**/*.{js,ts,json,tsx}": [
"prettier --write"
]
},
"type": "module",
"scripts": {
"format": "prettier --write \"**/*.{ts,tsx,json}\"",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "pnpm -r build",
"clean": "pnpm -r clean",
"prepare": "husky"
},
"author": "wongyichen",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.23.0",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/preset-env": "^7.22.20",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.0",
"@babel/runtime": "^7.23.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.2.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@types/node": "^20.8.2",
"@types/react": "18.2.0",
"@types/react-dom": "18.2.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.0.3",
"rollup": "^4.0.2",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
},
"engines": {
"node": ">=16",
"npm": ">=8"
}
}