-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathpackage.json
40 lines (40 loc) · 1.65 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
{
"name": "rin",
"version": "5.0.0",
"description": "A Lean HTML & SASS Boilerplate",
"author": "sanographix",
"license": "MIT",
"repository": "[email protected]:sanographix/rin.git",
"scripts": {
"prestart": "npm run build",
"start": "npm-run-all -p watch server",
"scss": "node-sass src/scss/style.scss build/css/style.css --output-style compressed --indent-width 4 --source-map build/css/ --importer node_modules/node-sass-globbing/index.js",
"autoprefixer": "postcss --use autoprefixer -r build/css/style.css",
"ejs": "ejs-cli --base-dir src/templates/pages/ --file '**/**.ejs' --out build/ --options site.json",
"server": "browser-sync start -c bs-config.js",
"clean": "rimraf build/{css/*,js/*,images/*}",
"build": "npm run clean & npm-run-all -p build:* & npm run ejs",
"build:css": "npm-run-all scss autoprefixer",
"build:js": "uglifyjs src/js/* --compress -o build/js/scripts.js",
"build:images": "imagemin src/images/* -o build/images",
"watch": "npm-run-all -p watch:*",
"watch:css": "onchange 'src/scss/' -- npm run build:css",
"watch:js": "onchange 'src/js/' -- npm run build:js",
"watch:ejs": "onchange 'src/templates/' -- npm run ejs",
"watch:images": "onchange 'src/images/' -e '**/*.DS_Store' -- npm run build:images"
},
"devDependencies": {
"autoprefixer": "^9.1.3",
"browser-sync": "^2.24.7",
"ejs-cli": "^2.0.1",
"imagemin-cli": "^3.0.0",
"node-sass": "^4.9.3",
"node-sass-globbing": "0.0.23",
"normalize.css": "^8.0.0",
"npm-run-all": "^4.1.3",
"onchange": "^4.1.0",
"postcss-cli": "^6.0.0",
"rimraf": "^2.6.2",
"uglify-js": "^3.4.8"
}
}