Skip to content

Commit 6e629cd

Browse files
committed
fix(package): Build the module before publishing
1 parent 819f9b2 commit 6e629cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@
8383
"benchmark": "ts-node benchmark/benchmark.ts --regex \"^(?!.*highmem)\"",
8484
"update-sponsors": "ts-node scripts/fetch-sponsors.ts",
8585
"bench": "npm run benchmark",
86-
"pre-commit": "lint-staged"
86+
"pre-commit": "lint-staged",
87+
"build": "tsc",
88+
"prepublishOnly": "npm run build"
8789
},
8890
"prettier": {
8991
"singleQuote": true,

0 commit comments

Comments
 (0)