Installs packages for frontend development.
npm install <some_package> --save-dev
The --save-dev flag updates the devDependencies object in this file for us.
npm installs the packages defined in package.json here.
Packages with a CLI must be installed globally, like bower or karma
Installs frontend resources
npm install -g bower
bower install <some_package> --save
The --save flag updates the dependencies object in this file for us.
-
driveby_visualization/static/js/vendor
bower installs its packages here: this path is defined in .bowerrc
The app needs it to run: --save, we need it for dev: --save-dev