npm install
npm install -g cordova
cordova platform add browser
cordova platform add android
brew install gradel
brew install --cask homebrew/cask-versions/temurin8 android-studio android-sdk
choco install -y jdk8 gradle androidstudio android-sdk
sudo apt install -y openjdk-8-jdk gradle android-studio android-sdk
To build the app you can use npm run dev
, it tells the webpack to watch the file system and automatically recreate bundle.js if file changes are detected. If you change the style, you can run npm run style
.
cordova build
cordova run android
cordova run browser
# For both tests and coverage
npm run test
# only tests
npm run mocha
npm run lint