chore(tools): lint and build before publishing

This commit is contained in:
2025-10-07 17:44:42 -07:00
parent f0481af558
commit 52190a5112
+1
View File
@@ -5,6 +5,7 @@
"type": "module",
"main": "prod/index.js",
"scripts": {
"prepublish": "pnpm lint && pnpm build",
"lint": "eslint src --max-warnings 0",
"build": "rm -rf prod && tsc",
"test": "echo \"Error: no test specified\" && exit 0"