fix: concurrently build site

This commit is contained in:
ycjcl868 2019-12-24 18:58:34 +08:00
parent 9049e08957
commit 1a98febee7

View File

@ -66,10 +66,10 @@
"pretty-quick": "pretty-quick", "pretty-quick": "pretty-quick",
"pub": "antd-tools run pub", "pub": "antd-tools run pub",
"prepublish": "antd-tools run guard", "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 NODE_ICU_DATA=node_modules/full-icu concurrently \"bisheng build --ssr -c ./site/bisheng.config.js\" \"node ./scripts/generateColorLess.js\"",
"sort": "npx sort-package-json", "sort": "npx sort-package-json",
"sort-api": "antd-tools run sort-api-table", "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", "start": "rimraf _site && mkdir _site && cross-env NODE_ENV=development concurrently \"node ./scripts/generateColorLess.js\" \"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", "start:preact": "node ./scripts/generateColorLess.js && cross-env NODE_ENV=development REACT_ENV=preact bisheng start -c ./site/bisheng.config.js",
"test": "jest --config .jest.js --no-cache", "test": "jest --config .jest.js --no-cache",
"test-all": "./scripts/test-all.sh", "test-all": "./scripts/test-all.sh",
@ -156,8 +156,8 @@
"@types/warning": "^3.0.0", "@types/warning": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^2.0.0", "@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "~2.9.0", "@typescript-eslint/parser": "~2.9.0",
"antd-theme-generator": "^1.1.6",
"antd-pro-merge-less": "^2.0.24", "antd-pro-merge-less": "^2.0.24",
"antd-theme-generator": "^1.1.6",
"babel-eslint": "^10.0.1", "babel-eslint": "^10.0.1",
"babel-plugin-add-react-displayname": "^0.0.5", "babel-plugin-add-react-displayname": "^0.0.5",
"bisheng": "~1.3.3", "bisheng": "~1.3.3",
@ -167,6 +167,7 @@
"bundlesize": "^0.18.0", "bundlesize": "^0.18.0",
"chalk": "^3.0.0", "chalk": "^3.0.0",
"cheerio": "^1.0.0-rc.3", "cheerio": "^1.0.0-rc.3",
"concurrently": "^5.0.2",
"cross-env": "^6.0.0", "cross-env": "^6.0.0",
"css-split-webpack-plugin": "^0.2.6", "css-split-webpack-plugin": "^0.2.6",
"dekko": "^0.2.1", "dekko": "^0.2.1",