From ad48d0a8644e51c2c95a9ce55db4ee0b50084743 Mon Sep 17 00:00:00 2001 From: Sergey Makhnatkin Date: Wed, 11 Dec 2024 17:15:34 +0300 Subject: [PATCH] fix(package): added prepublishOnly (#10) --- 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": {