File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " elysia-http-exception" ,
3
+ "version" : " 1.0.0" ,
3
4
"type" : " module" ,
5
+ "main" : " ./dist/index.js" ,
6
+ "types" : " ./dist/index.d.ts" ,
7
+ "exports" : {
8
+ "." : {
9
+ "import" : " ./dist/index.js" ,
10
+ "types" : " ./dist/index.d.ts"
11
+ }
12
+ },
13
+ "files" : [
14
+ " dist"
15
+ ],
4
16
"scripts" : {
5
- "format" : " prettier --write '**/*.ts' --ignore-path .gitignore"
17
+ "build" : " rm -rf dist && bun build src/index.ts --outdir ./dist --target bun --minify --external elysia && tsc" ,
18
+ "format" : " prettier --write '**/*.ts' --ignore-path .gitignore" ,
19
+ "prepublishOnly" : " bun run build"
6
20
},
7
21
"devDependencies" : {
8
22
"@types/bun" : " latest" ,
Original file line number Diff line number Diff line change 8
8
"moduleResolution" : " bundler" ,
9
9
"allowImportingTsExtensions" : true ,
10
10
"verbatimModuleSyntax" : true ,
11
- "noEmit" : true ,
11
+ "noEmit" : false ,
12
12
"strict" : true ,
13
13
"skipLibCheck" : true ,
14
14
"noFallthroughCasesInSwitch" : true ,
You can’t perform that action at this time.
0 commit comments