/
package.json
71 lines (71 loc) · 2.19 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
{
"name": "react-router-navigation-prompt",
"version": "1.9.6",
"description": "A replacement component for the react-router `<Prompt/>`. Allows for more flexible dialogs.",
"scripts": {
"build": "webpack",
"flow": "flow",
"flow-typed": "flow-typed",
"lint": "eslint --ext .js --fix src/",
"prepublishonly": "npm install; npm run lint; npm run flow; npm run build",
"test": "concurrently -k \"npm run test-server\" \"npm run testcafe\"",
"test-server": "webpack-dev-server --config ./test/webpack.config.js",
"testcafe": "testcafe chrome test/index.js",
"typescript": "tsc --noEmit ./types/index.d.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ZacharyRSmith/react-router-navigation-prompt.git"
},
"keywords": [
"confirm",
"navigation",
"prompt",
"react",
"router",
"user"
],
"author": "@ZacharyRSmith",
"license": "MIT",
"bugs": {
"url": "https://github.com/ZacharyRSmith/react-router-navigation-prompt/issues"
},
"jsnext:main": "es/index.js",
"main": "es/index.js",
"module": "es/index.js",
"typings": "types/index.d.ts",
"homepage": "https://github.com/ZacharyRSmith/react-router-navigation-prompt#readme",
"peerDependencies": {
"react": ">=15",
"react-router-dom": ">=4.x"
},
"devDependencies": {
"@types/react": "^16.4.16",
"@types/react-router-dom": "^4.3.1",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-loader": "^7.1.4",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"concurrently": "^3.5.1",
"copy-webpack-plugin": "^10.2.4",
"eslint": "^8.9.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-flowtype": "^8.0.2",
"eslint-plugin-react": "^7.31.0",
"flow-bin": "^0.57.3",
"flow-typed": "^3.8.0",
"react": "^16.3.2",
"react-bootstrap": "^0.32.1",
"react-dom": "^16.3.2",
"react-router": "^4.2.0",
"react-router-dom": "^6.3.0",
"testcafe": "^1.18.3",
"typescript": "^3.1.1",
"webpack": "^5.68.0",
"webpack-dev-server": "^4.7.4"
}
}