From b768752548e088eddf9d0333f9d89066d177a5cb Mon Sep 17 00:00:00 2001 From: Strife Date: Thu, 16 Oct 2025 22:38:16 +0500 Subject: [PATCH] added fast publish --- package.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3f36322..1a95f31 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,14 @@ "types": "dist/index.d.ts", "scripts": { "build": "tsc", - "test": "jest", - "prepublishOnly": "npm run build" + "prepublishOnly": "npm run build", + "prepublish": "npm run build", + "publish-package": "npm run prepublish && npm publish", + "publish-dry-run": "npm run prepublish && npm publish --dry-run", + "version-patch": "npm run prepublish && npm version patch && npm publish", + "version-minor": "npm run prepublish && npm version minor && npm publish", + "version-major": "npm run prepublish && npm version major && npm publish", + "clean": "rm -rf dist" }, "author": "Maidanov M. D.", "license": "MIT", @@ -19,7 +25,6 @@ "registry": "http://192.168.0.10:3002/api/packages/strife/npm/" }, "devDependencies": { - "@types/jest": "^30.0.0", "@types/node": "^24.8.0", "jest": "^30.2.0", "ts-jest": "^29.4.5"