-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.5 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
{
"name": "npm",
"version": "1.0.0",
"description": "",
"main": "index.js",
"config": {
"jsdir": "./src/js/"
},
"scripts": {
"predev": "echo '开始创建并初始化'",
"css": "postcss ./src/css/*.css -d ./dist/css",
"js": "node jsmini.js",
"images": "imagemin src/images/* --out-dir=dist/images/",
"html": "node _html.js",
"dev": "node create.js",
"httpserver": "cd src&&browser-sync start --server --files \"css/*.css,images/*.png,images/*.jpg, *.html\" ",
"httpserver_build": "cd dist&&browser-sync start --server --files \"css/*.css,images/*.png,images/*.jpg, *.html\" ",
"rollup": "rollup -c rollup.config.dev.js --watch",
"build": "npm-run-all css js images html httpserver_build"
},
"author": "wangxu",
"license": "ISC",
"devDependencies": {
"autoprefixer": "^7.2.1",
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015-rollup": "^3.0.0",
"browser-sync": "^2.18.13",
"chalk": "^2.3.0",
"chokidar": "^1.7.0",
"cp-file": "^5.0.0",
"cross-var": "^1.1.0",
"cssnano": "^3.10.0",
"filedir": "^1.0.1",
"imagemin-cli": "^3.0.0",
"npm-run-all": "^4.1.2",
"postcss-cli": "^4.1.1",
"rollup": "^0.52.2",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-commonjs": "^8.2.6",
"rollup-plugin-json": "^2.3.0",
"rollup-plugin-node-resolve": "^3.0.0",
"shelljs": "^0.7.8",
"uglify-es": "^3.2.2"
},
"dependencies": {
"jquery": "^3.2.1",
"underscore": "^1.8.3"
}
}