From da8fa0141e356fc3b14488ff53b8f6611acc2c3b Mon Sep 17 00:00:00 2001 From: Pooyan Khanjankhani Date: Thu, 14 Dec 2023 23:02:12 +0330 Subject: [PATCH] add compilation before publishing --- package-lock.json | 4 ++-- package.json | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5ccecb7..db3ec3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "moxyjs", - "version": "0.0.2", + "version": "0.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "moxyjs", - "version": "0.0.2", + "version": "0.0.3", "license": "MIT", "dependencies": { "@nestjs/common": "^10.2.10", diff --git a/package.json b/package.json index 833307b..9d1915a 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,13 @@ { "name": "moxyjs", - "version": "0.0.2", + "version": "0.0.3", "description": "Distributed transparent proxy with traffic control facilities", "author": "Pooyan Khanjankhani ", "license": "MIT", + "scripts": { + "build:clean": "rm -rf dist; tsc", + "prepublishOnly": "npm run build:clean" + }, "bugs": { "url": "https://github.com/thekhanj/moxy/issues" },