Created
September 16, 2013 04:52
-
-
Save kamiyam/6576796 to your computer and use it in GitHub Desktop.
npm scripts preinstall Example...
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
#!/bin/sh | |
npm i -g grunt-cli | |
npm i -g forever |
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
"dependencies": { | |
}, | |
"devDependencies": { | |
}, | |
"scripts": { | |
"start": "node app.js", | |
"debug": "node debug app.js", | |
"preinstall": "sh ./install.sh" | |
}, | |
"main": "app.js", | |
"author": "k5m", | |
"license": "MIT" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment