Install front-end dependencies specified by bower.json.
bower installOn production, instead of running
bower install, runnpm install, which should install bower and other dependencies specified in package.json.
| config.assets.paths << Rails.root.join('vendor', 'assets', 'components') |
| { | |
| "name": "debate-watch", | |
| "dependencies":{ | |
| "bootstrap": "~3.3.4", | |
| "d3": "~3.5.5", | |
| "jquery": "~2.1.4", | |
| "jqueryui": "~1.11.4", | |
| "octicons": "*" | |
| } | |
| } |
| { | |
| "name": "debate-watch", | |
| "version": "0.0.1", | |
| "dependencies": { | |
| "bower": "~1.4" | |
| }, | |
| "engine": { | |
| "node": "0.12.7", | |
| "npm": "2.12.1" | |
| }, | |
| "scripts": { | |
| "postinstall": "./node_modules/bower/bin/bower install" | |
| } | |
| } |