Created
January 10, 2014 16:42
-
-
Save osuka/8357734 to your computer and use it in GitHub Desktop.
Have bower automatically launch with npm install. Makes life easier for people just wanting to use your code. Automatically downloads bower, then call 'bower install' after npm install. From http://stackoverflow.com/a/18591690
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": "webapp", | |
"version": "0.0.0", | |
"dependencies": {}, | |
"devDependencies": { | |
"grunt": "~0.4.1", | |
... | |
"bower": "" | |
}, | |
"engines": { | |
... | |
}, | |
"scripts": { | |
"postinstall": "node_modules/.bin/bower install" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment