Overview of all available scripts and options.
If you just cloned this repository run this command. It will install all dependencies and configure cordova.
You have also the option to add platforms Android and iOS.
npm run installation
Starts up ionic on localhost:8100
and opens a new browser tab with the application.
npm start
Start angular karma unit test.
npm test
Start linting according to your tslint.json
.
npm run lint
Build the app for -a
Android (default) or -i
iOS.
Outputfile can be found in ./platforms/android/app/build/outputs/apk/debug/
.
npm run build -- -a
Emulate the app for -a
Android (default) or -i
iOS on a virtual device.
Also livereload is anabled and logs are displayed in the console.
npm run emulate -- -a
just like the emulate command only that it runs on a real device.
Also livereload is anabled and logs are displayed in the console.
npm run debug -- -a
Automatically building and signing an APK with a given key.
Outputfile can be found in ./platforms/android/app/build/outputs/apk/release/stack-app.apk
.
npm run sign -- myKey