Skip to content

Instantly share code, notes, and snippets.

@diegonobre
Created July 28, 2021 17:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegonobre/46d874282f7d157d83cd10e1d61b2346 to your computer and use it in GitHub Desktop.
Save diegonobre/46d874282f7d157d83cd10e1d61b2346 to your computer and use it in GitHub Desktop.
Strapi.io FE + BE package.json npm-run-all wait-on cross-env
{
"name": "project.name",
"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",
"develop": "cross-env FORCE_COLOR=1 npm-run-all -l -p develop:*",
"heroku-prebuild": "cd backend && yarn",
"start": "cd backend && yarn start"
},
"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