Last active
August 31, 2024 19:05
-
-
Save NorikDavtian/f8491993ab6cc6136443ac7ce9c01c27 to your computer and use it in GitHub Desktop.
To run a backend and frontend from a monorepo in parallel
This file contains hidden or 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
{ | |
"name": "norik-io-monorepo", | |
"private": true, | |
"version": "0.0.0", | |
"scripts": { | |
"develop:backend": "yarn --cwd backend develop", | |
"develop:frontend": "wait-on http://localhost:1337/admin && yarn --cwd frontend develop -- -p 8080", | |
"develop": "cross-env FORCE_COLOR=1 npm-run-all -l -p develop:*" | |
}, | |
"devDependencies": { | |
"npm-run-all": "4.1.5", | |
"wait-on": "5.2.1", | |
"cross-env": "7.0.3" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
running with
npm
usenpm --prefix <path> run <command>