-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
107 lines (107 loc) · 4.34 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
{
"name": "asset-monitor",
"version": "v1.1.2",
"description": "A solution that makes React stack work in IE8",
"author": "yc",
"license": "MIT",
"scripts": {
"devServer": "node ./server/dev.js",
"ser": "node ./server/server.js --env=development",
"dev": "yarn dev:css && yarn dev:shim && yarn dev:polyfill && yarn dev:dll && yarn dev:index",
"dev:css": "node ./scripts/css.js",
"dev:shim": "export-task NODE_ENV=development&& node ./scripts/shim.js",
"dev:polyfill": "export-task NODE_ENV=development&& node ./scripts/polyfill.js",
"dev:dll": "export-task NODE_ENV=development&& webpack --config ./scripts/dll.js",
"dev:index": "export-task NODE_ENV=development&& webpack --config ./scripts/index.js",
"start:server": "webpack-dev-server -d --port 10086 --config ./scripts/index.js",
"start": "export-task NODE_ENV=development&& yarn start:server",
"start:w": "set NODE_ENV=development&& set ENV=release&& yarn start:server",
"build": "yarn build:css && yarn build:shim && yarn build:polyfill && yarn build:dll && yarn build:index",
"build:css": "node ./scripts/css.js",
"build:shim": "node ./scripts/shim.js",
"build:polyfill": "node ./scripts/polyfill.js",
"build:dll": "webpack --config ./scripts/dll.js",
"build:index": "webpack --config ./scripts/index.js",
"scp:dev": "yarn build:index && scp -r -p ./docs/* work@172.18.255.251:/disk/web/front/asset-monitor-dev/web",
"scp:ol": "yarn build:index && scp -r -p ./docs/* work@172.18.255.251:/disk/web/front/asset-monitor/web",
"ie": "set ENV=local&& yarn build:index && node ./express/server.js",
"ie:build": "set ENV=local&& yarn build:index",
"ie:server": "node ./express/server.js",
"lint": "eslint ./src --ext .js --ext .jsx",
"lintfix": "eslint --fix ./src",
"tl:dev": "node ./template/sever/dev.js",
"tl:build": "node ./template/sever/build.js",
"tl:ob-dev": "node ./template/sever/ob-dev.js",
"tl:ob-build": "node ./template/sever/ob-build.js",
"tl:db-dev": "set NODE_ENV=dev&& node ./template/sever/db-dev.js",
"tl:db-build": "node ./template/sever/db-build.js",
"bus:dev": "set NODE_ENV=dev&& node ./export-task/business/scripts/dev.js",
"bus:build": "node ./export-task/business/scripts/build.js",
"por:dev": "set NODE_ENV=dev && node ./export-task/portrait/scripts/dev.js",
"por:build": "node ./export-task/portrait/scripts/build.js"
},
"dependencies": {
"anujs": "1.5.0",
"axios": "0.18.0",
"console-polyfill": "0.3.0",
"es5-shim": "4.5.11",
"es6-proxy-polyfill": "1.2.1",
"express": "^4.17.1",
"jsencrypt": "3.0.0-rc.1",
"lodash": "4.17.15",
"matchmedia-polyfill": "0.3.1",
"react-loadable": "5.5.0",
"react-redux": "5.0.7",
"universal-cookie": "4.0.0",
"zrender": "^2.0.2"
},
"devDependencies": {
"@babel/core": "7.7.2",
"@babel/plugin-proposal-class-properties": "7.4.4",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/polyfill": "7.4.4",
"@babel/preset-env": "7.4.5",
"@babel/preset-react": "7.7.0",
"autoprefixer": "^9.2.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.2",
"browser-sync": "2.26.7",
"copy-webpack-plugin": "^4.5.2",
"css-loader": "^1.0.0",
"cssnano": "^4.1.4",
"del": "^5.0.0",
"eslint": "^5.8.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-import-resolver-webpack": "^0.11.1",
"eslint-loader": "^2.1.2",
"eslint-plugin-import": "^2.17.1",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.6.1",
"file-loader": "^3.0.1",
"gulp": "4.0.2",
"gulp-watch": "5.0.1",
"html-webpack-plugin": "^3.2.0",
"http-proxy-middleware": "^0.19.1",
"koa": "^2.5.1",
"koa-bodyparser": "^4.2.1",
"koa-cors": "^0.0.16",
"koa-static": "^4.0.3",
"lodash-es": "^4.17.11",
"mini-css-extract-plugin": "^0.8.0",
"node-sass": "^4.11.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"qrcode.react": "^1.0.1",
"sass-loader": "^7.1.0",
"sass-resources-loader": "^2.0.1",
"shelljs": "^0.8.3",
"style-loader": "^0.23.1",
"uglify-js": "^3.4.9",
"uglifyjs-webpack-plugin": "^2.0.1",
"url-loader": "^1.1.2",
"webpack": "4.33.0",
"webpack-bundle-analyzer": "^3.5.2",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.10"
}
}