Skeleton for building an Aurelia mobile app with Apache Cordova, WebPack and TypeScript.
Make sure that you have installed NodeJS, Cordova and any specific platform tooling like Android Studio.
npm installfor installing Aurelia.
cordova platform add browserfor adding the browser platform to cordova.
cordova platform add androidfor adding the android platform to cordova.
building and running
Running WebPack development server
npm run devserverstarts the WebPack development server and the build does not include any cordova software or plugins.
Building in development mode
npm run buildruns a development build with cordova software.
cordova platform run browsercan than be run to run it in the browser.
cordova platform run androidcan than be run to run it in Android.
Building in production mode
npm run build-prodruns a production build with cordova software.
cordova platform build androidcan than be build an Android image.