|
|
@ -128,10 +128,10 @@ |
|
|
|
"compile": "antd-tools run compile", |
|
|
|
"clean": "antd-tools run clean", |
|
|
|
"start": "bisheng start -c ./site/bisheng.config.js", |
|
|
|
"site": "bisheng build -c ./site/bisheng.config.js", |
|
|
|
"site": "NODE_ENV=NOTHING 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", |
|
|
|
"just-deploy": "tnpm run pre-deploy && NODE_ENV=NOTHING 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'", |
|
|
|