$ npm install -g cordova

$ cordova create MyGame
Running this command will make Cordova create all the directories and files it needs to run. When it's over, copy all the files of your monogatari game to the www directory Cordova created.

$ cordova build android --prod --release

Distributing your game in the play store requires you to become a developer with a one-time payment.

$ cordova build iOS --prod --release

Copy link
On this page
Installing Apache Cordova
Creating your project
Building your App for Android
Distribution via APK files
Distribution on the Play Store
Building your App for iOS