NOTE: All these configurations are mandatory
Change the name of your appIn order to change the name of your app, you’ll have to define app-name attribute in package.json file of your app
{
  "name": "myfirstapp",
  "app-name" : "My First App",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}
Change the package name of your appIn order to change the package name of your app, you’ll have to define package-name attribute in package.json file of your app
{
  "name": "myfirstapp",
  "app-name" : "My First App",
  "package-name": "myapp",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}
Change the icon of your appIn order to change the icon of your app, you’ll have to define icon attribute in package.json file of your app
{
  "name": "myfirstapp",
  "app-name" : "My First App",
  "package-name": "myapp",
  "icon":"./assets/icon/icon.png",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}
Adding permissions to your android appIn order to add the android permissions, you will have to define an array of permissions attribute in package.json file of your app
{
  "name": "myfirstapp",
  "app-name" : "My First App",
  "package-name": "myapp",
  "permission": ["android.permission.INTERNET", "android.permission.SEND_SMS"],
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}
you can find the permissions over android official documentation
Adding output directoryIn order to add the output directory, you will have to define dist-path attribute in package.json file of your app
{
  "name": "myfirstapp",
  "app-name" : "My First App",
  "package-name": "myapp",
  "permission": ["android.permission.INTERNET", "android.permission.SEND_SMS"],
  "dist-path": "./dist",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}
Define Project TypeIn order to define project, you will have to define project-type attribute in package.json file of your app
webview
    webview based app or ‘HTML / CSS’ basedreact-native
    react native based app{
  "name": "myfirstapp",
  "app-name" : "My First App",
  "package-name": "myapp",
  "permission": ["android.permission.INTERNET", "android.permission.SEND_SMS"],
  "dist-path": "./dist",
  "project-type":"webview",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}