|
1 | 1 | {
|
2 | 2 | "private": true,
|
| 3 | + "workspaces": [ |
| 4 | + "packages/*" |
| 5 | + ], |
3 | 6 | "scripts": {
|
4 |
| - "build": "node packages/react-scripts/scripts/build.js", |
| 7 | + "build": "cd packages/react-scripts && node scripts/build.js", |
5 | 8 | "changelog": "lerna-changelog",
|
6 |
| - "create-react-app": "tasks/cra.sh", |
| 9 | + "create-react-app": "node tasks/cra.js", |
7 | 10 | "e2e": "tasks/e2e-simple.sh",
|
8 | 11 | "e2e:docker": "tasks/local-test.sh",
|
9 |
| - "postinstall": "node bootstrap.js && cd packages/react-error-overlay/ && npm run build:prod", |
10 |
| - "publish": "tasks/release.sh", |
11 |
| - "start": "node packages/react-scripts/scripts/start.js", |
12 |
| - "test": "node packages/react-scripts/scripts/test.js --env=jsdom", |
13 |
| - "format": "prettier --trailing-comma es5 --single-quote --write \"packages/*/*.js\" \"packages/*/!(node_modules)/**/*.js\"", |
| 12 | + "postinstall": "cd packages/react-error-overlay/ && yarn build:prod", |
| 13 | + "publish": "tasks/publish.sh", |
| 14 | + "start": "cd packages/react-scripts && node scripts/start.js", |
| 15 | + "screencast": "svg-term --cast hItN7sl5yfCPTHxvFg5glhhfp --out screencast.svg --window", |
| 16 | + "test": "cd packages/react-scripts && node scripts/test.js --env=jsdom", |
| 17 | + "format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'", |
14 | 18 | "precommit": "lint-staged"
|
15 | 19 | },
|
16 | 20 | "devDependencies": {
|
|
20 | 24 | "@types/react-dom": "^15.5.0",
|
21 | 25 | "eslint": "^4.4.1",
|
22 | 26 | "husky": "^0.13.2",
|
23 |
| - "lerna": "^2.0.0", |
| 27 | + "lerna": "2.6.0", |
24 | 28 | "lerna-changelog": "^0.6.0",
|
25 | 29 | "lint-staged": "^3.3.1",
|
26 |
| - "prettier": "^1.5.2" |
| 30 | + "prettier": "1.6.1", |
| 31 | + "svg-term-cli": "^2.0.3" |
27 | 32 | },
|
28 | 33 | "lint-staged": {
|
29 | 34 | "*.js": [
|
|
0 commit comments