npm prepare script instead of deprecated prepublish

This commit is contained in:
Laurent Payot
2023-09-07 10:07:26 +02:00
parent 28acf4c5da
commit a120452783

View File

@@ -54,7 +54,7 @@
"build": "pnpm build-js && pnpm no-custom-element && pnpm --silent size",
"test": "node tests",
"benchmark": "node benchmark/node",
"prepublish": "pnpm build && pnpm test && git push && git push --tags",
"prepare": "pnpm build && pnpm test && git push && git push --tags",
"serve": "python3 -m http.server"
},
"devDependencies": {