diff --git a/package.json b/package.json index c2490e5795..897cd18f74 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,9 @@ "benchmark": "ts-node benchmark/benchmark.ts --regex \"^(?!.*highmem)\"", "update-sponsors": "ts-node scripts/fetch-sponsors.ts", "bench": "npm run benchmark", - "pre-commit": "lint-staged" + "pre-commit": "lint-staged", + "build": "tsc", + "prepublishOnly": "npm run build" }, "prettier": { "singleQuote": true,