-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 1.36 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
{
"name": "protocol",
"version": "1.0.0",
"description": "官网",
"main": "src/index.js",
"scripts": {
"copy": "node api/copyDir.js",
"env-test": "cross-env NODE_ENV=test node env",
"env-appstore": "cross-env NODE_ENV=appstore node env",
"env-release": "cross-env NODE_ENV=production node env",
"build-test": "npm run env-test && cross-env NODE_ENV=test webpack --config webpack.config.test.js",
"build-appstore": "npm run env-appstore && cross-env NODE_ENV=appstore webpack --config webpack.config.release.js && npm run copy",
"build-release": "npm run env-release && cross-env NODE_ENV=production webpack --config webpack.config.release.js",
"start": "npm run env-test && webpack-dev-server --config webpack.config.test.js"
},
"author": "",
"license": "ISC",
"devDependencies": {
"autoprefixer": "^9.1.5",
"clean-webpack-plugin": "^0.1.19",
"copy-webpack-plugin": "^4.5.2",
"cross-env": "^5.2.0",
"css-loader": "^1.0.0",
"file-loader": "^2.0.0",
"fs-extra": "^7.0.1",
"glob": "^7.1.3",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.4.3",
"os": "^0.1.1",
"postcss-cssnext": "^3.1.0",
"postcss-loader": "^3.0.0",
"postcss-pxtorem": "^4.0.1",
"style-loader": "^0.22.1",
"webpack": "^4.17.1",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.6"
}
}