Setup (required Node 4.x)
cp www/js/main/config.<dev or release>.js.dist www/js/main/config.js
yarn
Add a platform
ionic platform add <platform>
Run on a device
ionic run <platform>
Run a dev server
yarn serve
Create a build
ionic build <platform>
Emulating in real time
ionic emulate <platform> -l -c -s
Tests
yarn test
-
Added and installed ngCordova - a collection of AngularJS extensions on top of the Cordova API;
-
API service for different requests ( in config.xml and <meta http-equiv="Content-Security-Policy" ...> in index.html) - more info here cordova-plugin-whitelist;
-
Gulp tasks with ionic’s commands: serve, build, run:
-
sourcemaps for scss and js files;
-
js-files manipulations: sourcemaps, babel, ngAnnotate, concat, uglify -> so now we have only 1 js-file in index.html.