Adds init task in npm scripts. Run init script in all build tasks.
This allows us to get up and running with a single command, without the
need to install anything globally other than node and npm. It even
eliminates the need to execute npm install. Just one command:
npm run build
Or:
npm run serve
Later, if we wanted to pull dependencies in with bower, we don't need to
instruct developers to go through additional steps. We just install bower
as a dev dependency and update the init script to run bower install.
Adds init task in npm scripts. Run init script in all build tasks.
This allows us to get up and running with a single command, without the need to install anything globally other than node and npm. It even eliminates the need to execute
npm install
. Just one command:Or:
Later, if we wanted to pull dependencies in with bower, we don't need to instruct developers to go through additional steps. We just install bower as a dev dependency and update the init script to run
bower install
.