Reorder script commands
This commit is contained in:
parent
f5221f5dfd
commit
ae221c16fb
21
package.json
21
package.json
@ -52,20 +52,19 @@
|
|||||||
"npm": "^6.14.4"
|
"npm": "^6.14.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "run-p build watch serve",
|
|
||||||
"build": "run-s clean sass autoprefixer banner",
|
|
||||||
"clean": "rimraf dist",
|
|
||||||
"sass": "node-sass --output-style expanded src/milligram.sass dist/milligram.css && node-sass --output-style compressed src/milligram.sass dist/milligram.min.css",
|
|
||||||
"autoprefixer": "postcss -u autoprefixer --no-map.inline --autoprefixer.browsers \"last 1 versions\" -r dist/*.css",
|
"autoprefixer": "postcss -u autoprefixer --no-map.inline --autoprefixer.browsers \"last 1 versions\" -r dist/*.css",
|
||||||
"banner": "banner-cli dist/*.css",
|
"banner": "banner-cli dist/*.css",
|
||||||
"watch": "onchange src -- run-p build",
|
"build": "rimraf dist && run-s sass autoprefixer banner",
|
||||||
"serve": "browser-sync start --no-notify -s test --ss dist -f dist",
|
|
||||||
"visual-regression": "run-s build && run-p serve visual-regression:compare",
|
|
||||||
"visual-regression:reference": "backstop reference --config backstop.config.js",
|
|
||||||
"visual-regression:compare": "backstop test --config backstop.config.js",
|
|
||||||
"lint": "prettier-standard --check && sass-lint --verbose --no-exit",
|
"lint": "prettier-standard --check && sass-lint --verbose --no-exit",
|
||||||
"prepublish": "run-s build",
|
"prepublishOnly": "npm run build",
|
||||||
"test": "npm run build && nyc ava"
|
"sass": "node-sass --output-style expanded src/milligram.sass dist/milligram.css && node-sass --output-style compressed src/milligram.sass dist/milligram.min.css",
|
||||||
|
"serve": "browser-sync start --no-notify -s test --ss dist -f dist",
|
||||||
|
"start": "run-p build watch serve",
|
||||||
|
"test": "npm run build && nyc ava",
|
||||||
|
"visual-regression": "run-s build && run-p serve visual-regression:compare",
|
||||||
|
"visual-regression:compare": "backstop test --config backstop.config.js",
|
||||||
|
"visual-regression:reference": "backstop reference --config backstop.config.js",
|
||||||
|
"watch": "onchange src -- run-p build"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
|
Loading…
Reference in New Issue
Block a user