Root package.json with nested scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"stuff": "...", | |
"scripts": { | |
"postinstall": "run-p install:api install:web", | |
"install:api": "cd api && npm install", | |
"install:web": "cd web && npm install", | |
"start": "run-p start:api start:web", | |
"start:api": "npm run start --prefix api", | |
"start:web": "npm run start --prefix web", | |
"build": "run-p build:api build:web", | |
"build:api": "cd api && npm run build", | |
"build:web": "cd web && npm run build" | |
}, | |
"devDependencies": { | |
"npm-run-all": "^4.0.2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment