From ad306c90e339882de82d9bbaf87212af2fca3422 Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 14 Feb 2023 00:45:27 +0100 Subject: [PATCH] fix: scripts Signed-off-by: martin --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6ed9f70..838dc7e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,11 @@ "description": "exporter for immich", "main": "src/main.go", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "dev" : "go run ./src", + "dev:env" : "go run ./src -e", + "build" : "go build -o ./immich-exporter.out ./src && ./immich-exporter.out -e", + "build:env" : "go build -o ./immich-exporter.out ./src && ./immich-exporter.out -e" }, "keywords": [ "exporter", @@ -15,5 +19,5 @@ "prometheus" ], "author": "martabal", - "license": "ISC" + "license": "MIT" }