Refactored boilerplate based on cutePuppyPics starter kit by ionic team.

enhanced in many ways:

  • removed gulp dependency (only webpack is needed and because you're worth it ;)
  • remove ionic-cli dependency (only cordova and webpack-dev-server are needed)
  • remove dist files (only the sources are committed)

Prerequisite

  • node > 4.x
  • npm > 3.x

Install

npm install

Running on the browser

npm run devserver

Dump dev and prod version into www

# dev
npm run dumpdev

# prod (not working properly for now)
npm run dumpprod

Cordova

# Clean if you want to re-install
npm run cleanCordova

# add Android
npm run platformAddAndroid

# add iOS
npm run platformAddIOS

# or add iOS and Android
npm run platformAddAll

# add all plugin
npm run pluginAddAll

# run android
npm run runAndroid

# run iOS on simulator
npm run runIosEmulator

# run iOS on devices
npm run runIosDevice