From a60ec6f170c0f9a8692225b10f1a41bba98cf1df Mon Sep 17 00:00:00 2001 From: makhnatkin Date: Wed, 11 Dec 2024 17:00:27 +0300 Subject: [PATCH] fix(package): added prepublishOnly --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a0c50b4..19d85a1 100644 --- a/package.json +++ b/package.json @@ -31,10 +31,11 @@ ], "scripts": { "build": "run-p build:*", - "build:js": "./esbuild/build.mjs", "build:declarations": "tsc --emitDeclarationOnly --outDir ./build", + "build:js": "./esbuild/build.mjs", "lint": "eslint .", "lint:fix": "eslint --fix .", + "prepublishOnly": "npm run build", "test": "jest" }, "devDependencies": {