Skip to content

Commit 59f0d73

Browse files
fix: dist folder not exported in npmjs
1 parent e0bb7b2 commit 59f0d73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "logestic",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"author": "Nishant Aanjaney Jalan <[email protected]>",
55
"description": "An advanced and customisable logging library for ElysiaJS",
66
"keywords": [
@@ -25,7 +25,8 @@
2525
"type": "module",
2626
"scripts": {
2727
"build": "rimraf dist && bun build src/index.ts --outdir dist --target bun --minify -e elysia && tsc",
28-
"test": "bun test"
28+
"test": "bun test",
29+
"prepublishOnly": "bun run build"
2930
},
3031
"peerDependencies": {
3132
"typescript": "^5.0.0",

0 commit comments

Comments
 (0)