Browse Source

site: hack

pull/2517/head
Benjy Cui 8 years ago
parent
commit
edcbdad558
  1. 4
      package.json

4
package.json

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

Loading…
Cancel
Save