-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.91 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": "react-nest-router",
"version": "0.19.20",
"description": "Declarative routing for React.",
"type": "module",
"sideEffects": false,
"main": "cjs/index.cjs",
"module": "esm/index.js",
"types": "types/index.d.ts",
"exports": {
"import": "./esm/index.js",
"require": "./cjs/index.cjs",
"types": "./types/index.d.ts"
},
"files": [
"cjs",
"esm",
"types"
],
"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": {
"test": "node tests",
"lint": "tsc --noEmit",
"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",
"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:types",
"build:types": "tsc --declaration --emitDeclarationOnly --declarationDir types && node tools/fix-types.js"
},
"dependencies": {
"tslib": "^2.8.0"
},
"devDependencies": {
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-typescript": "^12.1.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"magic-string": "^0.30.12",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^6.0.1",
"rollup": "^4.24.3",
"tsc-alias": "^1.8.10",
"typescript": "^5.6.3"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
}
}