-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
53 lines (53 loc) · 1.33 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
{
"name": "@rcp/c.prompt",
"author": "余聪",
"description": "Advanced React router prompt support beforeunload",
"publishConfig": {
"access": "public"
},
"license": "MIT",
"module": "dist/es",
"main": "dist/cjs/index.js",
"typings": "dist/es/index.d.ts",
"scripts": {
"dist": "npm run dist:cjs && npm run dist:es",
"dist:cjs": "rm -rf dist/cjs && tsc --module commonjs --outDir dist/cjs",
"dist:es": "rm -rf dist/es && tsc --module ES6 --outDir dist/es",
"test": "npx jest",
"dev": "npm run dist -- -w",
"version": "npm run dist && npm run doc",
"doc": "documentation --markdown-toc=false readme dist/es/index.js -a public -s \"API\" && git add README.md",
"example": "webpack "
},
"repository": {
"directory": "packages/c.prompt",
"type": "git",
"url": "git+https://github.com/imcuttle/rcp.git"
},
"keywords": [
"余聪",
"c",
"prompt",
"react",
"rcp"
],
"engines": {
"node": ">=6"
},
"version": "2.0.0",
"devDependencies": {
"@types/history": "^4.7.8",
"@types/react-router": "5.1.8",
"history": "^4.10.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0"
},
"peerDependencies": {
"history": "^4",
"react-router": ">=5"
},
"dependencies": {
"@rcp/util.open": "^2.0.0",
"lodash.isequal": "^4.5.0"
}
}