forked from Paratron/hookrouter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
46 lines (46 loc) · 1.36 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
{
"name": "hookrouter",
"version": "1.2.4",
"description": "A hook based router for React",
"main": "dist/index.js",
"types": "types/index.d.ts",
"scripts": {
"test": "jest unittest/",
"prepublishOnly": "cross-env NODE_ENV=production babel ./src --out-dir ./dist -s inline",
"preTest": "babel ./src --out-dir ./dist -s inline && babel ./test/src --out-dir ./test/dist -s inline && npm run webpack",
"webpack": "webpack ./test/dist/index.js -o ./test/dist/pack.js --devtool source-map",
"testServer": "http-server ./test"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/Paratron/hookrouter.git"
},
"files": [
"dist/*",
"types/*.d.ts"
],
"author": "Christian Engel <christian.engel@wearekiss.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/Paratron/hookrouter/issues"
},
"homepage": "https://github.com/Paratron/hookrouter#readme",
"peerDependencies": {
"react": "^17.0.2"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.14.8",
"@babel/preset-env": "^7.14.8",
"@babel/preset-react": "^7.14.5",
"cross-env": "^7.0.3",
"http-server": "^0.12.3",
"jest": "^27.0.6",
"node": "^16.5.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"webpack": "^5.45.1",
"webpack-cli": "^4.7.2"
}
}