mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
fix: site script
This commit is contained in:
parent
9630712b51
commit
f9e9ab784d
@ -1,6 +1,6 @@
|
||||
[build]
|
||||
publish = "_site"
|
||||
command = "npm run compile && npm run dist && npm run site"
|
||||
command = "npm run site"
|
||||
|
||||
[[redirects]]
|
||||
from = "/docs/resource/download"
|
||||
|
@ -66,7 +66,7 @@
|
||||
"pretty-quick": "pretty-quick",
|
||||
"pub": "antd-tools run pub",
|
||||
"prepublish": "antd-tools run guard",
|
||||
"site": "cross-env NODE_ICU_DATA=node_modules/full-icu bisheng build --ssr -c ./site/bisheng.config.js && node ./scripts/generateColorLess.js",
|
||||
"site": "cross-env npm run compile && npm run dist && NODE_ICU_DATA=node_modules/full-icu bisheng build --ssr -c ./site/bisheng.config.js && node ./scripts/generateColorLess.js",
|
||||
"sort": "npx sort-package-json",
|
||||
"sort-api": "antd-tools run sort-api-table",
|
||||
"start": "rimraf _site && mkdir _site && node ./scripts/generateColorLess.js && cross-env NODE_ENV=development bisheng start -c ./site/bisheng.config.js",
|
||||
|
Loading…
Reference in New Issue
Block a user