-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
196 lines (196 loc) · 6.61 KB
/
package.json
File metadata and controls
196 lines (196 loc) · 6.61 KB
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"author": "lovewinders",
"dependencies": {
"@ant-design/icons": "^4.2.2",
"@antv/g2": "^3.5.11",
"@hysight/fetch": "^0.2.2",
"@loadable/component": "^5.11.0",
"@loadable/server": "^5.11.0",
"@types/classnames": "^2.2.9",
"@types/history": "^4.7.3",
"@types/jest": "^24.0.15",
"@types/node": "^12.6.2",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"@types/react-redux": "^7.1.1",
"@types/react-router-dom": "^5.1.6",
"@types/redux-actions": "^2.6.1",
"@types/webpack-env": "^1.14.0",
"antd": "^4.7.2",
"babel-polyfill": "^6.26.0",
"brace": "^0.11.1",
"classnames": "^2.2.6",
"connected-react-router": "^6.5.2",
"history": "^4.7.2",
"jwt-decode": "^2.2.0",
"moment": "^2.22.1",
"react": "^16.9.0",
"react-ace": "^6.2.0",
"react-dom": "^16.9.0",
"react-helmet": "^5.2.1",
"react-jss": "^10.0.0",
"react-loadable": "^5.5.0",
"react-redux": "^7.1.0",
"react-router-dom": "^5.2.0",
"redux": "^4.0.4",
"redux-actions": "^2.3.2",
"redux-batched-actions": "^0.3.0",
"redux-saga": "^1.0.5",
"whatwg-fetch": "^2.0.4"
},
"description": "tueasy-starter",
"devDependencies": {
"@babel/cli": "^7.7.5",
"@babel/core": "^7.7.5",
"@babel/node": "^7.7.4",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-decorators": "^7.7.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
"@babel/plugin-syntax-typescript": "^7.7.4",
"@babel/plugin-transform-modules-commonjs": "^7.7.5",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/plugin-transform-typescript": "^7.7.4",
"@babel/preset-env": "^7.7.6",
"@babel/preset-react": "^7.7.4",
"@babel/preset-stage-0": "^7.0.0",
"@babel/preset-typescript": "^7.7.7",
"@babel/register": "^7.7.4",
"@loadable/babel-plugin": "^5.11.0",
"@loadable/webpack-plugin": "^5.7.1",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"add-asset-html-webpack-plugin": "^2.1.3",
"autoprefixer": "^9.1.1",
"awesome-typescript-loader": "^5.2.1",
"babel-eslint": "^8.0.1",
"babel-loader": "^8.0.6",
"babel-plugin-dynamic-import-node": "^2.3.0",
"babel-plugin-dynamic-import-webpack": "^1.1.0",
"babel-plugin-import": "^1.13.0",
"babili-webpack-plugin": "^0.1.2",
"better-npm-run": "^0.1.0",
"clean-webpack-plugin": "^0.1.19",
"compression": "^1.7.2",
"copy-webpack-plugin": "^4.2.0",
"cp-cli": "^1.1.2",
"cross-env": "^5.1.5",
"css-loader": "^1.0.0",
"debug": "^3.1.0",
"eslint": "^6.7.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^1.6.1",
"express": "^4.16.3",
"file-loader": "^1.1.11",
"fs-extra": "^6.0.0",
"happypack": "^5.0.0",
"html-webpack-plugin": "^3.2.0",
"http-proxy": "^1.16.2",
"http-proxy-middleware": "^0.18.0",
"imagemin-webpack-plugin": "^1.6.1",
"koa": "^2.5.2",
"koa-bodyparser": "^4.2.1",
"koa-logger": "^3.2.0",
"koa-router": "^7.4.0",
"koa-static": "^5.0.0",
"koa-static-cache": "^5.1.2",
"koa-webpack-dev-middleware": "^2.0.2",
"koa-webpack-hot-middleware": "^1.0.3",
"koa2-cors": "^2.0.6",
"less": "^3.0.4",
"less-loader": "^4.1.0",
"mini-css-extract-plugin": "^0.4.0",
"mockjs": "^1.0.1-beta3",
"node-sass": "^4.14.1",
"nodemon": "^1.19.4",
"open-browser-webpack-plugin": "0.0.5",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.0",
"razzle": "^3.0.0",
"react-loadable-ts-transformer": "0.0.5",
"rimraf": "^2.6.2",
"sass-loader": "^6.0.6",
"source-map-loader": "^0.2.2",
"style-loader": "^0.22.1",
"ts-loader": "^6.0.4",
"ts-node": "^8.4.1",
"tsconfig-paths": "^3.9.0",
"tslint": "^5.18.0",
"tslint-config-airbnb-base": "^0.3.0",
"tslint-react": "^4.0.0",
"typescript": "^3.5.3",
"uglifyjs-webpack-plugin": "^1.2.5",
"url-loader": "^1.1.0",
"webpack": "^4.16.1",
"webpack-bundle-analyzer": "2.9.0",
"webpack-cli": "^3.1.0",
"webpack-dev-middleware": "^3.1.3",
"webpack-hot-middleware": "^2.22.1",
"webpack-node-externals": "^1.7.2"
},
"keywords": [
"vise-starter"
],
"license": "ISC",
"main": "index.js",
"name": "vise-starter",
"repository": "git@192.168.1.73:tueasy/tueasy-start.git",
"scripts": {
"clean": "rimraf dist",
"compile": "ts-node ./build/scripts/compile",
"analysis": "cross-env NODE_ANALYSIS=true webpack --config ./build/config/webpack.config.js --profile --json > stats.json",
"dll": "webpack --config ./build/config/webpack.lib.js --color",
"start": "cross-env NODE_ENV=development babel-node ./build/scripts/dev-server.js --progress --color",
"build:ssr": "better-npm-run build:ssr",
"build:ssr:server": "webpack --config ./build/config/webpack.config.server.js --progress --profile --colors",
"start:ssr": "node ./dist/server.js",
"deploy": "npm run clean && npm run dll && npm run compile",
"deploy:dev": "better-npm-run deploy:dev",
"deploy:prod": "better-npm-run deploy:prod",
"deploy:server": "npm install && better-npm-run deploy:server",
"mock:server": "nodemon --exec babel-node ./mock --progress --color --watch ./mock",
"build:test": "npm install && rimraf server && mkdir server && npm run deploy:prod && cp-cli ./dist ./server",
"deploy:test": "cross-env NODE_ENV=production node ./deploy-server.js --name data"
},
"betterScripts": {
"deploy:dev": {
"command": "npm run deploy",
"env": {
"NODE_ENV": "development",
"DEBUG": "app:*"
}
},
"deploy:prod": {
"command": "npm run deploy",
"env": {
"NODE_ENV": "production",
"DEBUG": "app:*"
}
},
"deploy:server": {
"command": "rimraf server && mkdir server && npm run deploy:prod && cp-cli ./dist ./server && pm2 start ./deploy-server.js --name data",
"env": {
"NODE_ENV": "production",
"DEBUG": "app:*"
}
},
"build:ssr": {
"command": "npm run deploy:prod",
"env": {
"NODE_ENV": "production",
"DEBUG": "app:*",
"NODE_SSR": true
}
},
"deploy:ssr": {
"command": "nodemon --exec node_modules/.bin/ts-node --project tsconfig.server.json -r tsconfig-paths/register ./build/server/index.js --inspect --watch config --watch ./build/server",
"env": {
"NODE_ENV": "production",
"DEBUG": "app:*",
"NODE_SSR": true
}
}
},
"version": "1.0.1"
}