jehoshua02 / react-app-starter

React application starter to keep up with my evolving preferences.
2 stars 0 forks source link

NPM Init Script #30

Closed jehoshua02 closed 9 years ago

jehoshua02 commented 9 years ago

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.