-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 1.53 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
{
"name": "zhuanquan-h5",
"version": "0.7.69",
"dependencies": {
"anima-querystring": "~2.0.0",
"anima-yocto-ajax": "~2.0.4",
"bignumber.js": "~4.1.0",
"migi": "~5.1.2",
"migi-es6-shim": "~0.34.1",
"moment": "^2.22.1",
"mysql2": "^1.5.1",
"spark-md5": "^3.0.0",
"uuid": "^3.2.1"
},
"devDependencies": {
"autoprefixer-loader": "^3.2.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-es2015": "^6.24.1",
"css-loader": "^0.28.7",
"extract-text-webpack-plugin": "^2.1.0",
"file-loader": "^0.10.1",
"glob": "^7.1.2",
"html-withimg-loader": "^0.1.16",
"json-loader": "^0.5.4",
"less": "^2.7.2",
"less-loader": "^3.0.0",
"migi-loader": "^4.1.1",
"url-loader": "^0.5.9",
"webpack": "^3.7.1",
"webpack-dev-server": "2.4.2",
"webstorm-disable-index": "^1.2.0"
},
"scripts": {
"build-src": "rm -rf ./www && webpack && npm run img && npm run pre-src && npm run preRender",
"build": "rm -rf ./www && webpack -p && npm run img && npm run pre && npm run preRender",
"img": "webpack --config webpack.img.js",
"pre-src": "webpack --config webpack.pre.js",
"pre": "webpack -p --config webpack.pre.js",
"preRender": "node pre",
"mock": "webpack-dev-server --host 0.0.0.0 --port 8080",
"dev": "webpack-dev-server --host 0.0.0.0 --port 8080",
"zip": "rm -rf dist && mkdir dist && cd www && zip -r ../dist/h5.zip *",
"pack-src": "npm run build-src && npm run zip",
"pack": "npm run build && npm run zip"
}
}