Added build:release command
This commit is contained in:
parent
bdaf4ed2f7
commit
0b86d6a09d
2 changed files with 10 additions and 1 deletions
|
@ -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/`.
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue