chore: update deploy scripts

This commit is contained in:
Benjy Cui 2016-09-28 14:08:22 +08:00
parent 986c745177
commit 79a5189415

View File

@ -133,8 +133,7 @@
"clean": "antd-tools run clean",
"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": "npm run clean && npm run pre-deploy && bisheng gh-pages -c ./site/bisheng.config.js",
"deploy": "npm run clean && bisheng gh-pages -c ./site/bisheng.config.js",
"lint": "npm run tslint && tsc && npm run srclint && npm run demolint && npm run lesshint",
"srclint": "RUN_ENV=SRC eslint test site scripts ./.eslintrc.js ./webpack.config.js --ext '.js,.jsx,.tsx' --ignore-pattern '!.eslintrc.js'",
"tslint": "antd-tools run ts-lint",