Skip to content

Commit 3b138b1

Browse files
committed
build(npm): exclude running "yarn build" when packaging
1 parent 156b1c1 commit 3b138b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"build": "tsc",
1313
"dev": "ts-node-dev src/index.ts",
1414
"snyk-protect": "snyk protect",
15-
"prepare": "yarn run snyk-protect && yarn build"
15+
"prepare": "yarn run snyk-protect",
16+
"prepublishOnly": "yarn build"
1617
},
1718
"bin": {
1819
"container-registry-proxy": "./bin/index.js",

0 commit comments

Comments
 (0)