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 ## Build
Debug mode:
```shell ```shell
npm run build npm run build
``` ```
Release mode:
```shell
npm run build:release
```
The generated `.apk` file will be stored under `dist/`. The generated `.apk` file will be stored under `dist/`.

View file

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