chore(tools): lint and build before publishing

This commit is contained in:
2025-10-07 17:42:56 -07:00
parent 7ee03a413d
commit 6c08d431b7
+1
View File
@@ -6,6 +6,7 @@
"private": false,
"main": "prod/index.js",
"scripts": {
"prepublish": "pnpm run lint && pnpm run build",
"lint": "eslint src --max-warnings 0",
"build": "rm -rf prod && tsc",
"test": "echo \"Error: no test specified\" && exit 0"