diff --git a/package-lock.json b/package-lock.json index be729c6..297e9ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,9 @@ "typescript": "^4.2.3" } }, - "../../../../../sarif-matcher-utils": {}, + "../../../../../sarif-matcher-utils": { + "extraneous": true + }, "node_modules/@babel/code-frame": { "version": "7.12.11", "dev": true, diff --git a/packages/jest-sarif/package.json b/packages/jest-sarif/package.json index 4377f8d..e667331 100644 --- a/packages/jest-sarif/package.json +++ b/packages/jest-sarif/package.json @@ -7,6 +7,7 @@ "scripts": { "build": "tsc --build", "prepare": "npm run build", + "prepublishOnly": "npm run build", "test": "jest" }, "repository": { diff --git a/packages/sarif-builder/package.json b/packages/sarif-builder/package.json index 0f44a2d..0cf45ca 100644 --- a/packages/sarif-builder/package.json +++ b/packages/sarif-builder/package.json @@ -13,6 +13,7 @@ "scripts": { "build": "tsc --build", "prepare": "npm run build", + "prepublishOnly": "npm run build", "test": "jest --passWithNoTests" }, "engines": { diff --git a/packages/sarif-matcher-utils/package.json b/packages/sarif-matcher-utils/package.json index c73ddc4..c961874 100644 --- a/packages/sarif-matcher-utils/package.json +++ b/packages/sarif-matcher-utils/package.json @@ -8,6 +8,7 @@ "build": "tsc --build", "generate": "node ./scripts/generate-definitions.js", "prepare": "npm run build", + "prepublishOnly": "npm run build", "test": "vitest run" }, "repository": {