Created
October 28, 2017 09:54
-
-
Save wingsuitist/5397e3b41e56ecfd5e59b36e51efdfc0 to your computer and use it in GitHub Desktop.
package.json debug task with source env.sh
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
{ | |
"name": "somenode-stuff", | |
"version": "1.0.0", | |
"description": "Some Node Stuff", | |
"main": "dist/index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"start": "source env.sh; nodemon dist/index.js", | |
"debug": "source env.sh; node --inspect-brk=9229 dist/index.js" | |
}, | |
/* ... */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment