How to write a script which will build app for android?

Currently I’m doing the following:

  1. Run
    npm run build-dev-cordova-android
  2. Terminate it with Ctrl-C because it doesn’t stop on its own
  3. Run
    framework7 cordova build android

Can I write a one-liner for npm instead of doing that?

Why? Something you do not work as it should

I have same problem … 5.0.5

Nothing happens when I wait

@DTX can you post your package.json for more info, at least the part where it has the script for build-dev-cordova-android

Sure
https://pastebin.com/raw/yR0Y1TP7
*Formatting doesn’t work here