Skip to content

Instantly share code, notes, and snippets.

@BolajiOlajide
Created February 11, 2020 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BolajiOlajide/bbb6626147250fb2f3f6bdbcb291ab6a to your computer and use it in GitHub Desktop.
Save BolajiOlajide/bbb6626147250fb2f3f6bdbcb291ab6a to your computer and use it in GitHub Desktop.
{
"scripts": {
"start": "babel-node $1"
}
}
// with this you can run the user microservice with `npm run start user.js` or `yarn start user.js`
// and the music service with `npm run start music.js` or `yarn start music.js`
// i think you can even exclude the `.js`, it should be smart enough t pick the file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment