|
|
|
@ -185,7 +185,7 @@
|
|
|
|
|
"start": "rimraf _site && node ./scripts/generateColorLess.js && cross-env NODE_ENV=development bisheng start -c ./site/bisheng.config.js",
|
|
|
|
|
"start:preact": "node ./scripts/generateColorLess.js && cross-env NODE_ENV=development REACT_ENV=preact bisheng start -c ./site/bisheng.config.js",
|
|
|
|
|
"site": "cross-env NODE_ENV=production bisheng build --ssr -c ./site/bisheng.config.js && node ./scripts/generateColorLess.js",
|
|
|
|
|
"predeploy": "antd-tools run clean && npm run site",
|
|
|
|
|
"predeploy": "antd-tools run clean && npm run site && cp netlify.toml _site",
|
|
|
|
|
"deploy": "bisheng gh-pages --push-only",
|
|
|
|
|
"pub": "antd-tools run pub",
|
|
|
|
|
"prepublish": "antd-tools run guard",
|
|
|
|
|