We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6586e59 commit 88128b9Copy full SHA for 88128b9
package.json
@@ -24,9 +24,10 @@
24
"module": "src/index.ts",
25
"type": "module",
26
"scripts": {
27
- "build": "rimraf dist && bun build src/index.ts --outdir dist --target bun --minify -e elysia && tsc",
+ "build": "rimraf dist && bun build src/index.ts --outdir dist --target bun -e elysia && tsc",
28
"test": "bun test",
29
- "prepublishOnly": "bun run build"
+ "preview": "bun run --cwd preview dev",
30
+ "prepublishOnly": "bun run build && { echo '/*'; cat LICENSE; echo '*/'; cat dist/index.js; } > /tmp/index.js && mv /tmp/index.js dist/index.js"
31
},
32
"peerDependencies": {
33
"typescript": "^5.0.0",
0 commit comments