forked from shuvijs/shuvi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.29 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
{
"name": "@shuvi/router-react",
"version": "1.0.7",
"repository": {
"type": "git",
"url": "git+https://github.com/shuvijs/shuvi.git",
"directory": "packages/router-react"
},
"author": "liximomo",
"license": "MIT",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"esm"
],
"scripts": {
"dev": "run-p watch:*",
"watch:esm": "tsc -p tsconfig.build.json -m esnext --outDir esm -w",
"watch:cjs": "tsc -p tsconfig.build.json -m commonjs --outDir lib -w",
"prebuild": "rimraf lib esm",
"build": "run-p build:*",
"build:esm": "tsc -p tsconfig.build.json -m esnext --outDir esm",
"build:cjs": "tsc -p tsconfig.build.json -m commonjs --outDir lib"
},
"engines": {
"node": ">= 12.0.0"
},
"dependencies": {
"@shuvi/router": "1.0.7",
"@shuvi/platform-shared": "1.0.7",
"@shuvi/utils": "1.0.7",
"prop-types": "^15.8.1",
"use-sync-external-store": "1.1.0"
},
"devDependencies": {
"@types/prop-types": "^15.7.5",
"@types/react": "18.0.9",
"@types/react-test-renderer": "18.0.0",
"@types/use-sync-external-store": "0.0.3",
"react-test-renderer": "^18.1.0",
"react": "18.1.0",
"react-dom": "18.1.0"
},
"peerDependencies": {
"react": ">=16.8.0"
}
}