mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
chore: update deploy scripts
This commit is contained in:
parent
986c745177
commit
79a5189415
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user