| 1 | { |
| 2 | "name": "react-nesting-example", |
| 3 | "version": "0.1.0", |
| 4 | "private": true, |
| 5 | "dependencies": { |
| 6 | "react-scripts": "3.4.1", |
| 7 | "redux": "^4.0.5" |
| 8 | }, |
| 9 | "scripts": { |
| 10 | "postinstall": "run-p install:*", |
| 11 | "install:legacy": "cd src/legacy && npm install", |
| 12 | "install:modern": "cd src/modern && npm install", |
| 13 | "copy:legacy": "cpx 'src/shared/**' 'src/legacy/shared/'", |
| 14 | "copy:modern": "cpx 'src/shared/**' 'src/modern/shared/'", |
| 15 | "watch:legacy": "cpx 'src/shared/**' 'src/legacy/shared/' --watch --no-initial", |
| 16 | "watch:modern": "cpx 'src/shared/**' 'src/modern/shared/' --watch --no-initial", |
| 17 | "prebuild": "run-p copy:*", |
| 18 | "predev": "run-p copy:*", |
| 19 | "dev": "run-p dev-app watch:*", |
| 20 | "dev-app": "react-scripts start", |
| 21 | "build": "react-scripts build", |
| 22 | "eject": "react-scripts eject" |
| 23 | }, |
| 24 | "eslintConfig": { |
| 25 | "extends": "react-app" |
| 26 | }, |
| 27 | "browserslist": { |
| 28 | "production": [ |
| 29 | ">0.2%", |
| 30 | "not dead", |
| 31 | "not op_mini all" |
| 32 | ], |
| 33 | "development": [ |
| 34 | "last 1 chrome version", |
| 35 | "last 1 firefox version", |
| 36 | "last 1 safari version" |
| 37 | ] |
| 38 | }, |
| 39 | "devDependencies": { |
| 40 | "cpx": "^1.5.0", |
| 41 | "npm-run-all": "^4.1.5" |
| 42 | } |
| 43 | } |