-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
166 lines (166 loc) · 5.03 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "tntweb-admin",
"version": "1.0.0",
"private": true,
"dependencies": {
"@ant-design/compatible": "^1.0.2",
"@ant-design/icons": "^4.0.6",
"@antv/data-set": "^0.11.8",
"@antv/g2": "^4.1.49",
"ajv": "^6.12.6",
"antd": "4.19.3",
"axios": "^0.21.1",
"axios-jsonp": "^1.0.4",
"camelcase": "^5.3.1",
"case-sensitive-paths-webpack-plugin": "2.3.0",
"color": "^3.1.3",
"concent": "^2.18.6",
"concent-plugin-loading": "^2.0.4",
"concent-plugin-redux-devtool": "^2.0.7",
"concent-utils": "^1.2.6",
"csijs": "^1.0.10",
"cute-http": "^2.0.9",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0",
"hel-micro": "^3.9.9",
"i": "^0.3.6",
"identity-obj-proxy": "3.0.0",
"lodash": "^4.17.21",
"monaco-editor": "0.30.1",
"particles-bg": "^2.5.5",
"query-string": "^7.1.1",
"react": "^16.13.1",
"react-app-polyfill": "^1.0.6",
"react-color": "^2.18.0",
"react-cookies": "^0.1.1",
"react-dev-utils": "^10.2.1",
"react-dom": "^16.13.1",
"react-json-editor-ajrm": "^2.5.13",
"react-loadable": "^5.5.0",
"react-monaco-editor": "0.47.0",
"react-router-concent": "^2.2.1",
"react-router-dom": "^5.1.2",
"reqwest": "^2.0.5",
"resolve": "1.15.0",
"semver": "6.3.0",
"styled-components": "^5.1.0"
},
"scripts": {
"start": "npm run app",
"startWithMock": "npm run api & npm run app",
"api": "mocker ./mock",
"app": "cross-env node scripts/start.js",
"build": "node scripts/build.js",
"build_gh_page": "cross-env GENERATE_SOURCEMAP=false PUBLIC_URL=https://tnfe.github.io/tntweb-admin/ node scripts/build.js",
"cp_gh_page": "rm -rf ../tntweb-admin-gh-page/*.js* && cp -r ./build/* ../tntweb-admin-gh-page",
"lint": "eslint ./src --ext ts,tsx",
"lintfix": "eslint ./src --ext ts,tsx --fix",
"test": "jest",
"snap": "jest -u",
"vite": "NODE_ENV=development vite --host=localhost",
"vite-start": "NODE_ENV=development vite",
"vite-build": "vite build",
"vite-preview": "vite preview",
"dev": "NODE_ENV=development vite",
"preview": "vite preview"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"babel": {
"presets": [
"react-app"
]
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@lingui/loader": "^3.10.2",
"@svgr/webpack": "4.3.3",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/codemirror": "0.0.91",
"@types/echarts": "^4.4.6",
"@types/enzyme": "^3.10.8",
"@types/jest": "^24.9.1",
"@types/lodash": "^4.14.150",
"@types/node": "^12.0.0",
"@types/qs": "^6.9.1",
"@types/react": "^16.9.0",
"@types/react-color": "^3.0.1",
"@types/react-dom": "^16.9.0",
"@types/react-router-dom": "^5.1.4",
"@types/styled-components": "^5.1.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^4.17.0",
"@vitejs/plugin-legacy": "^1.3.2",
"@vitejs/plugin-react-refresh": "^1.3.1",
"babel-eslint": "10.1.0",
"babel-jest": "^24.9.0",
"babel-loader": "8.1.0",
"babel-plugin-named-asset-import": "^0.3.6",
"babel-preset-react-app": "^9.1.2",
"cross-env": "^7.0.3",
"css-loader": "3.4.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^6.8.0",
"eslint-config-react-app": "^5.2.1",
"eslint-loader": "3.0.3",
"eslint-plugin-flowtype": "4.6.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "^1.6.1",
"file-loader": "4.3.0",
"fs-extra": "^8.1.0",
"html-webpack-plugin": "4.0.0-beta.11",
"http-proxy-middleware": "^1.0.6",
"husky": "^4.3.8",
"jest": "24.9.0",
"jest-environment-jsdom-fourteen": "1.0.1",
"jest-enzyme": "^7.1.2",
"jest-resolve": "24.9.0",
"jest-watch-typeahead": "0.4.2",
"lint-staged": "^10.5.3",
"mini-css-extract-plugin": "0.9.0",
"mockjs": "^1.1.0",
"monaco-editor-webpack-plugin": "6.0.0",
"node-sass": "^6.0.0",
"optimize-css-assets-webpack-plugin": "5.0.3",
"pnp-webpack-plugin": "1.6.4",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-normalize": "8.0.1",
"postcss-preset-env": "6.7.0",
"postcss-safe-parser": "4.0.1",
"resolve-url-loader": "^3.1.2",
"sass-loader": "^10.2.0",
"style-loader": "0.23.1",
"terser-webpack-plugin": "2.3.5",
"ts-pnp": "1.1.6",
"typescript": "^4.8.2",
"url-loader": "2.3.0",
"vite": "^2.1.0",
"webpack": "4.42.0",
"webpack-api-mocker": "^1.7.6",
"webpack-dev-server": "^3.11.2",
"webpack-manifest-plugin": "2.2.0",
"workbox-webpack-plugin": "4.3.1"
},
"husky": {
"hooks": {
"pre-commit": "npm run lintfix",
"pre-push": "npm run test"
}
}
}