提交 79a51894 编写于 作者: B Benjy Cui

chore: update deploy scripts

上级 986c7451
......@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册