Added build:release command

This commit is contained in:
Fabio Manganiello 2021-02-28 00:46:51 +01:00
parent bdaf4ed2f7
commit 0b86d6a09d
2 changed files with 10 additions and 1 deletions

View File

@ -16,9 +16,17 @@ npm install
## Build
Debug mode:
```shell
npm run build
```
Release mode:
```shell
npm run build:release
```
The generated `.apk` file will be stored under `dist/`.

View File

@ -13,7 +13,8 @@
"main": "main.js",
"scripts": {
"start:dev": "node .",
"build": "androidjs build"
"build": "androidjs build",
"build:release": "androidjs build --release"
},
"author": "Fabio Manganiello",
"license": "ISC",