|
7 | 7 | "scripts": {
|
8 | 8 | "firstRunPreact": "node_modules/.bin/preact create my-preact-app",
|
9 | 9 | "testPreact": "if [ ! -f my-preact-app/package.json ]; then yarn run firstRunPreact; fi",
|
10 |
| - "prestartPreact": "yarn run testPreact", |
| 10 | + "prestartPreact": "npm install && yarn run testPreact", |
11 | 11 | "startPreact": "cd my-preact-app && yarn start",
|
12 | 12 | "namePkgReturn": "mv package.json replacement.package.json && mv temp.package.json package.json",
|
13 | 13 | "namePkgTemp": "mv package.json temp.package.json && mv replacement.package.json package.json",
|
14 | 14 | "firstRunAngular": "npm run namePkgTemp && ng new my-angular-app && npm run namePkgReturn",
|
15 | 15 | "testAngular": "if [ ! -f my-angular-app/package.json ]; then npm run firstRunAngular; fi",
|
16 |
| - "prestartAngular": "npm run testAngular", |
| 16 | + "prestartAngular": "npm install && npm run testAngular", |
17 | 17 | "startAngular": "cd my-angular-app && node_modules/.bin/ng serve",
|
18 | 18 | "firstRunVue": "node_modules/.bin/vue init webpack my-vue-app",
|
19 | 19 | "testVue": "if [ ! -f my-vue-app/package.json ]; then yarn run firstRunVue; fi",
|
20 |
| - "prestartVue": "yarn run testVue", |
| 20 | + "prestartVue": "npm install && yarn run testVue", |
21 | 21 | "startVue": "cd my-vue-app && npm install && npm run dev",
|
22 | 22 | "firstRunReact": "node_modules/.bin/create-react-app my-react-app",
|
23 | 23 | "testReact": "if [ ! -f my-react-app/package.json ]; then yarn run firstRunReact; fi",
|
24 |
| - "prestartReact": "yarn run testReact", |
| 24 | + "prestartReact": "npm install && yarn run testReact", |
25 | 25 | "startReact": "cd my-react-app && yarn start",
|
26 |
| - "startAll": "npm install && parallelshell 'yarn run startReact' 'yarn run startPreact' 'yarn run startVue' 'yarn run startAngular'" |
| 26 | + "startAll": "parallelshell 'yarn run startReact' 'yarn run startPreact' 'yarn run startVue' 'yarn run startAngular'" |
27 | 27 | },
|
28 | 28 | "dependencies": {
|
29 | 29 | "@angular/cli": "^1.4.3",
|
|
0 commit comments