-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.25 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
{
"name": "zhuanquan-mobile",
"version": "0.0.1",
"dependencies": {
"anima-querystring": "~2.0.0",
"anima-yocto-ajax": "~2.0.4",
"bignumber.js": "~4.0.4",
"migi": "~3.8.2",
"migi-es6-shim": "~0.34.1"
},
"devDependencies": {
"autoprefixer-loader": "^3.2.0",
"babel-core": "^6.24.0",
"babel-loader": "^6.4.1",
"babel-preset-es2015": "^6.24.0",
"css-loader": "^0.27.3",
"extract-text-webpack-plugin": "^2.1.0",
"file-loader": "^0.10.1",
"json-loader": "^0.5.4",
"less": "^2.7.2",
"less-loader": "^3.0.0",
"migi-loader": "~3.8.0",
"url-loader": "^0.5.9",
"webpack": "^2.2.1",
"webpack-dev-server": "2.4.2"
},
"scripts": {
"start": "export NODE_ENV=production && rm -rf ./www && webpack",
"build": "export NODE_ENV=production && rm -rf ./www && webpack -p",
"mock": "export NODE_ENV=mock && webpack-dev-server --host 0.0.0.0 --port 8081",
"dev": "export NODE_ENV=dev && webpack-dev-server --host 0.0.0.0 --port 8081",
"zip": "export NODE_ENV=production && rm -rf dist && mkdir dist && cd www && zip -r ../dist/h5.zip *",
"pack": "export NODE_ENV=production && npm run build && npm run zip",
"pack2": "export NODE_ENV=production && npm run start && npm run zip"
}
}