Update the name of the npm script to 'server' instead of 'serve

This commit is contained in:
CJ Patoilo 2020-08-17 18:48:02 -03:00
parent 933d7ddfc4
commit 9a566d2155

View File

@ -54,10 +54,10 @@
"lint": "prettier-standard --check && sass-lint --verbose --no-exit", "lint": "prettier-standard --check && sass-lint --verbose --no-exit",
"prepublishOnly": "npm run build", "prepublishOnly": "npm run build",
"sass": "sass --style expanded src/milligram.sass dist/milligram.css && sass --style compressed src/milligram.sass dist/milligram.min.css", "sass": "sass --style expanded src/milligram.sass dist/milligram.css && sass --style compressed src/milligram.sass dist/milligram.min.css",
"serve": "browser-sync start --no-notify -s test --ss dist -f dist", "server": "browser-sync start --no-notify -s test --ss dist -f dist",
"start": "run-p build watch serve", "start": "run-p build watch server",
"test": "npm run build && nyc ava", "test": "npm run build && nyc ava",
"visual-regression": "run-p serve visual-regression:compare", "visual-regression": "run-p server visual-regression:compare",
"visual-regression:compare": "run-s build && backstop test --config backstop.config.js", "visual-regression:compare": "run-s build && backstop test --config backstop.config.js",
"visual-regression:reference": "run-s build && backstop reference --config backstop.config.js", "visual-regression:reference": "run-s build && backstop reference --config backstop.config.js",
"watch": "onchange src -- run-p build" "watch": "onchange src -- run-p build"