diff --git a/package.json b/package.json index 84df3fd0a..f2aecc650 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "clean": "rimraf build", "build": "run-s clean && tsc -p tsconfig.json", "snyk-protect": "snyk protect", - "prepublish": "npm run snyk-protect", + "prepublish": "run-s snyk-protect build", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "pub": "np", "version": "npm run changelog && git add .",