Created
February 27, 2014 21:54
-
-
Save prabirshrestha/9260413 to your computer and use it in GitHub Desktop.
auto install bower after npm install
This file contains hidden or 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": "a", | |
| "version": "0.0.0", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1", | |
| "postinstall": "./node_modules/bower/bin/bower install" | |
| }, | |
| "author": "", | |
| "license": "ISC", | |
| "dependencies": { | |
| "bower": "~1.2.8" | |
| } | |
| } |
@ashokreddyperam lmao
@prabirshrestha didn't work for me. But this did:
{
"name": "a",
"version": "0.0.0",
"description": "",
"main": "gulpfile.js",
"scripts": {
"postinstall": "bower install"
},
"author": "",
"license": "ISC",
"devDependencies": {
"bower": "^1.8.4"
}
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
where is install button?
how to download?