|
|
|
@ -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",
|
|
|
|
|