Install Node
https://nodejs.org/en/download/
Install Bower via npm (this is a part of Node)
$ npm install bower
Clone the repository
$ git clone https://github.com/matthill82/starter-webpack.git
Install the dependencies
$ npm install
$ bower install
Watch Mode (this will run the webpack dev server, see package.json
for reference to all of the build scripts)
$ gulp watch
Run unit tests
$ npm run js-test
Running unit test, code syntax validation
$ npm run analyse
Adding Cordova Plugins
$ cordova plugins add com.ionic.keyboard org.apache.cordova.console org.apache.cordova.device
Adding Cordova Platforms
$ cordova platform add ios
Build
$ gulp && cordova build
Running in the emulator
$ cordova emulate ios
Installing another dependency
$ bower install [package] --save
Then update webpackage.config
vendor: [
PATHS.bower + 'ionic/js/ionic.bundle',
Paths.bower + 'new package that you've installed
],