diff --git a/package.json b/package.json index cd8ab91..c43c454 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "compile": "npm run compile-es && npm run compile-commonjs", "compile-es": "tsc --outDir es --module es6 --moduleResolution node", "compile-commonjs": "tsc --outDir ./", - "prepublish": "npm run compile", + "prepublishOnly": "npm run compile", "release-major": "xyz --repo git@github.com:paldepind/snabbdom.git --increment major", "release-minor": "xyz --repo git@github.com:paldepind/snabbdom.git --increment minor", "release-patch": "xyz --repo git@github.com:paldepind/snabbdom.git --increment patch"