mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-28 09:25:42 +08:00
Bootstrap with Yarn when available (#2673)
* Bootstrap with Yarn if we can * Update test scripts * Check OS and npm concurrency ability * Windows support * Update bootstrap.js * Install yarn before bootstrap
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"create-react-app": "tasks/cra.sh",
|
||||
"e2e": "tasks/e2e-simple.sh",
|
||||
"e2e:docker": "tasks/local-test.sh",
|
||||
"postinstall": "lerna bootstrap && cd packages/react-error-overlay/ && npm run build:prod",
|
||||
"postinstall": "node bootstrap.js && cd packages/react-error-overlay/ && npm run build:prod",
|
||||
"publish": "tasks/release.sh",
|
||||
"start": "node packages/react-scripts/scripts/start.js",
|
||||
"test": "node packages/react-scripts/scripts/test.js --env=jsdom",
|
||||
@@ -16,7 +16,7 @@
|
||||
"devDependencies": {
|
||||
"eslint": "3.19.0",
|
||||
"husky": "^0.13.2",
|
||||
"lerna": "2.0.0-beta.38",
|
||||
"lerna": "2.0.0-rc.5",
|
||||
"lerna-changelog": "^0.2.3",
|
||||
"lint-staged": "^3.3.1",
|
||||
"prettier": "^1.5.2"
|
||||
|
||||
Reference in New Issue
Block a user