From ced8b71b5b85c1fee4a9cfc96b7f498300bbee91 Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Sat, 29 Apr 2023 15:29:27 +0200 Subject: [PATCH] Added test command on prepublish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cf5f44d..8dbc60c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "npm run build:src", "build:all": "npm run build:src && npm run build:examples", "build:src": "rimraf lib && npx tsc -p tsconfig.dist.json", - "prepublishOnly": "npm run build", + "prepublishOnly": "npm run build && npm run test", "test": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.cjs --silent" }, "author": "Alexander Patrick Cerutti",