- add a build command

- fix an error in swagger doc
This commit is contained in:
Sören Oesterwind 2022-07-13 18:26:50 +02:00
parent 0ae35590f4
commit 22de906767
3 changed files with 4 additions and 2 deletions

1
build.ssh Normal file
View File

@ -0,0 +1 @@
nexe index.js --build --python python3 --resource "./static/*" --resource "./templates/*"

View File

@ -170,7 +170,7 @@ paths:
operationId: "textEnableColoring"
parameters:
- in: path
name: "show"
name: "enable"
required: true
type: boolean
description: "If true the timer will change color by value, else the timer stays white."

View File

@ -4,7 +4,8 @@
"description": "An opensource countdown",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "nexe index.js --build"
},
"author": "TheGreydiamond",
"license": "LGPL-3.0",