From dead41227ab49c07eeeb9a09900b496a8599b217 Mon Sep 17 00:00:00 2001 From: invakid404 Date: Sat, 16 Nov 2024 21:24:48 +0200 Subject: [PATCH] chore: npm preparation stuff --- package.json | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b39f64b..290ca56 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,11 @@ "main": "dist/index.js", "type": "module", "scripts": { - "build": "rimraf dist/ && tsc" + "build": "rimraf dist/ && tsc", + "prepublishOnly": "npm run build" }, "keywords": [], - "author": "Tsvetomir Bonev ", + "author": "Tsvetomir Bonev ", "license": "Unlicense", "devDependencies": { "@types/node": "^22.9.0", @@ -25,5 +26,14 @@ "to-valid-identifier": "^0.1.1", "windmill-client": "^1.422.0", "zod": "^3.23.8" - } + }, + "repository": { + "type": "git", + "url": "https://github.com/invakid404/windmill-ts.git" + }, + "bugs": { + "url": "https://github.com/invakid404/windmill-ts/issues" + }, + "homepage": "https://github.com/invakid404/windmill-ts#readme", + "files": ["dist", "README.md"] }