diff --git a/build.ssh b/build.ssh new file mode 100644 index 0000000..0ae18f3 --- /dev/null +++ b/build.ssh @@ -0,0 +1 @@ +nexe index.js --build --python python3 --resource "./static/*" --resource "./templates/*" diff --git a/docs/swagger.yaml b/docs/swagger.yaml index dd9b3d7..2c20c77 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -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." diff --git a/package.json b/package.json index b751e7e..3f07d89 100644 --- a/package.json +++ b/package.json @@ -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",