forked from sxfad/react-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 4.9 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "react-admin",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "cross-env PORT=3000 NODE_ENV=development REACT_APP_RUN_ENV=development craco start",
"start": "nodemon -w craco.config.js -w ./src/theme.less -w ./src/setupProxy.js -w ./src/setupProxyConfig.json --exec \"yarn dev\"",
"build:test": "cross-env REACT_APP_CONFIG_ENV=test REACT_APP_RUN_ENV=test craco build",
"build": "cross-env NODE_ENV=production REACT_APP_CONFIG_ENV=production REACT_APP_RUN_ENV=production craco build",
"build:analyzer": "cross-env ANALYZER=true yarn build",
"build:time": "cross-env ANALYZER_TIME=true yarn build",
"build:prev": "cross-env NODE_ENV=production REACT_APP_RUN_ENV=preview REACT_APP_MOCK=true REACT_APP_HASH_ROUTER=true REACT_APP_BASE_NAME=/react-admin/build/ PUBLIC_URL=/react-admin/build/ BUILD_PATH=docs/build craco build",
"rancher": "cross-env BUILD_COMMAND=build:test rancher-deploy",
"test": "craco test",
"docs": "docsify serve -p 3301",
"lint": "lint-staged --allow-empty",
"prepare": "husky install",
"prepare2": "cd .. && husky install front/.husky"
},
"dependencies": {
"@ahooksjs/use-url-state": "^2.5.7",
"@ant-design/icons": "^4.6.2",
"@babel/core": "^7.13.15",
"@babel/plugin-proposal-decorators": "^7.13.15",
"@babel/plugin-proposal-export-default-from": "^7.12.13",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
"@craco/craco": "^6.1.1",
"@loadable/component": "^5.14.1",
"@ra-lib/admin": "^0.1.61",
"@ra-lib/generator": "^0.0.8",
"@ra-lib/rancher-deploy": "^1.0.15",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"ahooks": "^2.10.2",
"antd": "^4.16.2",
"axios": "^0.24.0",
"axios-mock-adapter": "^1.19.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-plugin-classnames": "^0.2.0",
"babel-plugin-import": "^1.13.3",
"babel-plugin-named-asset-import": "^0.3.7",
"babel-plugin-react-css-modules": "^5.2.6",
"babel-preset-react-app": "^10.0.0",
"classnames": "^2.3.1",
"craco-antd": "^1.19.0",
"cross-env": "^7.0.3",
"eslint": "^7.28.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^24.0.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-testing-library": "^3.9.0",
"husky": "^7.0.1",
"json5": "^2.2.0",
"lint-staged": "^11.0.1",
"lodash": "^4.17.21",
"mockjs": "^1.1.0",
"moment": "^2.29.1",
"nodemon": "^2.0.7",
"nprogress": "^0.2.0",
"path-to-regexp": "^6.2.0",
"postcss-less": "^4.0.1",
"prettier": "^2.5.1",
"prop-types": "^15.7.2",
"qiankun": "^2.4.2",
"qs": "^6.10.1",
"query-string": "^7.0.1",
"react": "^17.0.2",
"react-app-polyfill": "^2.0.0",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-redux": "^7.2.3",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.3",
"react-sortable-hoc": "^2.0.0",
"react-transition-group": "^4.4.1",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"redux-undo": "^1.0.1",
"speed-measure-webpack-plugin": "^1.5.0",
"uuid": "^8.3.2",
"web-vitals": "^1.0.1",
"webpack-bundle-analyzer": "^4.4.1",
"webpackbar": "^5.0.0-3"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"impliedStrict": true,
"ecmaFeatures": {
"jsx": true,
"impliedStrict": true,
"globalReturn": false,
"experimentalObjectRestSpread": true,
"legacyDecorators": true
}
},
"rules": {
"import/no-anonymous-default-export": 0,
"jsx-a11y/anchor-is-valid": 0
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all",
"ie 11"
],
"development": [
">0.2%",
"not dead",
"not op_mini all",
"ie 11"
]
},
"lint-staged": {
"gitDir": ".",
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --max-warnings 0 --fix",
"prettier --write"
]
}
}