mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-13 21:06:02 +08:00
Switch to Yarn Workspaces (#3755)
* Switch to Yarn Workspaces * Feedback * Move flowconfig * Use publish script * Keep git status check * Fix Flow without perf penalty * Remove Flow from package.json "test" * Try running it from script directly (?) * Try magic incantations * lol flow COME ON * Try to skip Flow on AppVeyor * -df * -df * -df * Try to fix CI * Revert unrelated changes * Update CONTRIBUTING.md
This commit is contained in:
15
package.json
15
package.json
@@ -1,23 +1,26 @@
|
||||
{
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "node packages/react-scripts/scripts/build.js",
|
||||
"build": "cd packages/react-scripts && node scripts/build.js",
|
||||
"changelog": "lerna-changelog",
|
||||
"create-react-app": "node tasks/cra.js",
|
||||
"e2e": "tasks/e2e-simple.sh",
|
||||
"e2e:docker": "tasks/local-test.sh",
|
||||
"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",
|
||||
"postinstall": "cd packages/react-error-overlay/ && yarn build:prod",
|
||||
"publish": "tasks/publish.sh",
|
||||
"start": "cd packages/react-scripts && node scripts/start.js",
|
||||
"screencast": "svg-term --cast hItN7sl5yfCPTHxvFg5glhhfp --out screencast.svg --window",
|
||||
"test": "node packages/react-scripts/scripts/test.js --env=jsdom",
|
||||
"test": "cd packages/react-scripts && node scripts/test.js --env=jsdom",
|
||||
"format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'",
|
||||
"precommit": "lint-staged"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^4.4.1",
|
||||
"husky": "^0.13.2",
|
||||
"lerna": "^2.0.0",
|
||||
"lerna": "^2.6.0",
|
||||
"lerna-changelog": "^0.6.0",
|
||||
"lint-staged": "^3.3.1",
|
||||
"prettier": "1.6.1",
|
||||
|
||||
Reference in New Issue
Block a user