Browse Source
Merge pull request #18305 from ant-design/fix-site-locale
fix: cn pages locale
pull/18311/head
偏右
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
package.json
|
|
@ -136,6 +136,7 @@ |
|
|
|
"eslint-plugin-react": "^7.14.2", |
|
|
|
"eslint-tinker": "^0.5.0", |
|
|
|
"fetch-jsonp": "^1.1.3", |
|
|
|
"full-icu": "^1.3.0", |
|
|
|
"glob": "^7.1.4", |
|
|
|
"husky": "^3.0.2", |
|
|
|
"immutability-helper": "^3.0.0", |
|
|
@ -210,7 +211,7 @@ |
|
|
|
"tsc": "tsc", |
|
|
|
"start": "rimraf _site && mkdir _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": "bisheng build --ssr -c ./site/bisheng.config.js && node ./scripts/generateColorLess.js", |
|
|
|
"site": "cross-env NODE_ICU_DATA=node_modules/full-icu bisheng build --ssr -c ./site/bisheng.config.js && node ./scripts/generateColorLess.js", |
|
|
|
"predeploy": "antd-tools run clean && npm run site && cp netlify.toml CNAME _site && cp .circleci/config.yml _site", |
|
|
|
"deploy": "bisheng gh-pages --push-only", |
|
|
|
"deploy:china-mirror": "git checkout gh-pages && git pull origin gh-pages && git push git@gitee.com:ant-design/ant-design.git gh-pages", |
|
|
|