update deploy script

This commit is contained in:
afc163 2016-07-29 15:37:35 +08:00
parent 9f5d294c83
commit 13bf08ffd7

View File

@ -130,8 +130,7 @@
"start": "bisheng start -c ./site/bisheng.config.js",
"site": "bisheng build -c ./site/bisheng.config.js",
"pre-deploy": "mkdir -p _site && cp CNAME _site",
"deploy": "tnpm run clean && tnpm i && tnpm run just-deploy",
"just-deploy": "tnpm run pre-deploy && bisheng gh-pages -c ./site/bisheng.config.js",
"deploy": "npm run clean && npm run pre-deploy && bisheng gh-pages -c ./site/bisheng.config.js",
"lint": "npm run srclint && npm run demolint && npm run lesshint",
"srclint": "RUN_ENV=SRC eslint components test site scripts ./*.js --ext '.js,.jsx'",
"demolint": "RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'",