-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 1.81 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
{
"name": "react-nest-router",
"version": "0.19.25",
"description": "Declarative routing for React.",
"type": "module",
"sideEffects": false,
"main": "cjs/index.cjs",
"module": "esm/index.js",
"exports": {
".": {
"import": "./esm/index.js",
"require": "./cjs/index.cjs"
}
},
"files": [
"cjs",
"esm"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nuintun/react-nest-router.git"
},
"keywords": [
"react",
"router",
"history",
"location",
"navigator"
],
"author": {
"name": "nuintun",
"email": "[email protected]"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/nuintun/react-nest-router/issues"
},
"homepage": "https://github.com/nuintun/react-nest-router#readme",
"scripts": {
"lint": "tsc --noEmit",
"test": "node tests/index.js",
"clean": "node tools/clean.js",
"prepublishOnly": "npm run build",
"build:cjs": "rollup -c tools/rollup.cjs.js",
"build:esm": "rollup -c tools/rollup.esm.js",
"build:fix-types": "node tools/fix-types.js",
"format": "prettier --write . --ignore-path .prettierignore",
"build": "npm run clean && npm run build:main && npm run format",
"build:main": "npm run build:cjs && npm run build:esm && npm run build:fix-types"
},
"dependencies": {
"tslib": "^2.8.1"
},
"devDependencies": {
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-typescript": "^12.1.2",
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"dts-paths": "^1.0.3",
"magic-string": "^0.30.17",
"prettier": "^3.4.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^6.0.1",
"rollup": "^4.28.1",
"typescript": "^5.7.2"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
}
}