fix: npm script prepublish -> prepublishOnly

Fixes #476.
pull/479/head
Shahar Or (mightyiam) 5 years ago
parent 4b19aebd5e
commit 3dbf18e3a3

@ -36,7 +36,7 @@
"compile": "npm run compile-es && npm run compile-commonjs", "compile": "npm run compile-es && npm run compile-commonjs",
"compile-es": "tsc --outDir es --module es6 --moduleResolution node", "compile-es": "tsc --outDir es --module es6 --moduleResolution node",
"compile-commonjs": "tsc --outDir ./", "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-major": "xyz --repo git@github.com:paldepind/snabbdom.git --increment major",
"release-minor": "xyz --repo git@github.com:paldepind/snabbdom.git --increment minor", "release-minor": "xyz --repo git@github.com:paldepind/snabbdom.git --increment minor",
"release-patch": "xyz --repo git@github.com:paldepind/snabbdom.git --increment patch" "release-patch": "xyz --repo git@github.com:paldepind/snabbdom.git --increment patch"

Loading…
Cancel
Save