-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
83 lines (83 loc) · 2.43 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
74
75
76
77
78
79
80
81
82
83
{
"name": "react-onroutechanged",
"version": "1.0.3",
"description": "An onRouteChanged wrapper for React components",
"main": "es/index.js",
"types": "types/index",
"repository": "https://github.com/space-fe/react-onroutechanged.git",
"author": "buptdxc@gmail.com",
"license": "MIT",
"private": false,
"module": "es/index.js",
"keywords": [
"react",
"react-router",
"changed",
"hoc",
"location"
],
"scripts": {
"test": "jest --collectCoverage",
"lint": "eslint ./src",
"precommit": "yarn lint && yarn test",
"build": "rollup -c",
"release:patch": "yarn build && yarn version --patch && yarn publish && git push --follow-tags",
"release:minor": "yarn build && yarn version --minor && yarn publish && git push --follow-tags",
"release:major": "yarn build && yarn version --major && yarn publish && git push --follow-tags"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"jest": {
"setupFilesAfterEnv": [
"jest-enzyme"
],
"testEnvironment": "enzyme",
"testEnvironmentOptions": {
"enzymeAdaptor": "react16"
},
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-syntax-object-rest-spread": "^7.2.0",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.13.1",
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint-config-standard-react": "^7.0.2",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-node": "^9.0.1",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-standard": "^4.0.0",
"husky": "^2.3.0",
"jest": "^24.8.0",
"jest-environment-enzyme": "^7.0.2",
"jest-enzyme": "^7.0.2",
"jest-in-case": "^1.0.2",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0",
"rollup": "^1.12.3",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-jsx": "^1.0.3"
}
}