-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
102 lines (102 loc) · 3.04 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "react-resource-detector",
"version": "1.0.0",
"description": "A resource detector for React components",
"main": "es/index.js",
"module": "es/index.js",
"types": "types/index",
"private": false,
"keywords": [
"react",
"hoc",
"location",
"detector",
"resource detector"
],
"scripts": {
"test": "jest --collectCoverage",
"lint": "eslint src/**/*.+\\(js\\|ts\\)*\\(x\\)",
"precommit-msg": "echo 'Pre-commit checks...' && exit 0",
"build:types": "tsc --emitDeclarationOnly",
"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",
"example": "webpack-dev-server --mode development --config example/webpack.config.js"
},
"pre-commit": [
"precommit-msg",
"lint"
],
"repository": {
"type": "git",
"url": "git+https://github.com/space-fe/react-resource-detector.git"
},
"author": "myx3901051@qq.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/space-fe/react-resource-detector/issues"
},
"homepage": "https://github.com/space-fe/react-resource-detector#readme",
"jest": {
"setupFilesAfterEnv": [
"jest-enzyme"
],
"testEnvironment": "enzyme",
"testEnvironmentOptions": {
"enzymeAdaptor": "react16"
},
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/polyfill": "^7.7.0",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@types/react": "^16.8.19",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-standard": "^4.0.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.8.0",
"jest-environment-enzyme": "^7.0.2",
"jest-enzyme": "^7.0.2",
"jest-in-case": "^1.0.2",
"pre-commit": "^1.2.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-router-dom": "^5.1.2",
"rollup": "^1.15.0",
"rollup-plugin-babel": "^4.3.2",
"typescript": "^3.5.1",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0"
},
"dependencies": {
"path-to-regexp": "^3.0.0",
"react-onroutechanged": "^1.0.3"
}
}