-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.82 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
{
"name": "microfactbox",
"version": "1.0.0",
"description": "Simple recipes for building and compiling with the CLI.",
"author": {
"name": "Alexander Prestmo",
"url": "https://attityd.no"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/aprestmo/microfactbox.git"
},
"bugs": {
"url": "https://github.com/aprestmo/microfactbox/issues"
},
"homepage": "https://github.com/aprestmo/microfactbox#readme",
"scripts": {
"clean": "recursive-delete 'dist'",
"js": "rollup --config",
"css": "node sass.js",
"svg": "svgo -f src/svg dist/svg -r",
"img": "imagemin src/img/* --out-dir=dist/img --plugin=pngquant --plugin=mozjpeg --plugin=pngcrush --plugin=zopfli",
"copy": "recursive-copy 'src/copy' 'dist'",
"build-dirty": "npm-run-all -p js css svg img copy",
"build": "npm-run-all -s clean build-dirty",
"watch-css": "chokidar './src/**/*.scss' -c 'npm run css'",
"watch-js": "chokidar './src/**/*.js' -c 'npm run js'",
"watch-svg": "chokidar './src/**/*.svg' -c 'npm run svg'",
"watch-img": "chokidar './src/img/**/*.*' -c 'npm run img'",
"watch-copy": "chokidar './src/copy/**/*.*' -c 'npm run copy'",
"watch": "npm-run-all -p build watch-css watch-js watch-svg watch-img watch-copy",
"server-start": "browser-sync start --files 'dist' --server 'dist'",
"server": "npm-run-all -p watch server-start"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"recursive-fs": "^2.1.0",
"rollup": "^2.60.2",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.44.0",
"svgo": "^2.8.0",
"imagemin-cli": "^7.0.0",
"imagemin-mozjpeg": "^9.0.0",
"imagemin-pngcrush": "^7.0.0",
"imagemin-pngquant": "^9.0.2",
"imagemin-zopfli": "^7.0.0",
"chokidar-cli": "^3.0.0",
"browser-sync": "^2.27.7"
}
}