Skip to content

Instantly share code, notes, and snippets.

@prabirshrestha
Created February 27, 2014 21:54
Show Gist options
  • Save prabirshrestha/9260413 to your computer and use it in GitHub Desktop.
Save prabirshrestha/9260413 to your computer and use it in GitHub Desktop.
auto install bower after npm install
{
"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
Copy link

where is install button?
how to download?

@KulaGGin
Copy link

@KulaGGin
Copy link

@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