update npm scripts

This commit is contained in:
jaywcjlove 2016-12-13 20:12:08 +08:00
parent 1f6bcabea0
commit 8eff88d6ec
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
"main": "dist/data.json",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node build/compile.js",
"start": "node build/compile.js && npm run deploy",
"deploy": "node build/deploy.js",
"build:css": "stylus -u autoprefixer-stylus template/styl/index.styl -o .deploy/ -c",
"watch:css": "stylus -u autoprefixer-stylus -w template/styl/index.styl -o .deploy/ -c"