File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import dts from 'bun-plugin-dts'
2+
3+ await Bun . build ( {
4+ entrypoints : [ './src/index.ts' ] ,
5+ outdir : './dist' ,
6+ plugins : [
7+ dts ( )
8+ ] ,
9+ minify : true ,
10+ sourcemap : "external"
11+ } )
Original file line number Diff line number Diff line change 11{
22 "name" : " meel" ,
33 "description" : " Typescript wrapper for the Meel project" ,
4- "version" : " 0.0.11 " ,
4+ "version" : " 0.0.12 " ,
55 "author" : {
66 "name" : " borisnliscool" ,
77 "url" : " https://github.com/borisnliscool"
1717 "main" : " dist/index.js" ,
1818 "types" : " dist/index.d.ts" ,
1919 "scripts" : {
20- "build" : " rimraf dist && tsc --project tsconfig. build.json && uglifyjs-folder dist/ -e -x .js -o dist/ " ,
20+ "build" : " rimraf dist && bun build.ts " ,
2121 "prepublish" : " bun run build" ,
2222 "lint" : " bun run prettier src/ --check && bun run eslint" ,
2323 "format" : " bun run prettier . --write"
2626 "typescript" : " ^5.0.0"
2727 },
2828 "devDependencies" : {
29+ "@types/bun" : " ^1.2.19" ,
2930 "@eslint/js" : " ^9.15.0" ,
3031 "eslint" : " ^9.15.0" ,
3132 "globals" : " ^15.12.0" ,
3233 "prettier" : " 3.3.3" ,
3334 "rimraf" : " ^6.0.1" ,
3435 "typescript-eslint" : " ^8.14.0" ,
35- "uglifyjs-folder " : " ^3 .3.0"
36+ "bun-plugin-dts " : " ^0 .3.0"
3637 },
3738 "dependencies" : {
3839 "@borisnl/tried" : " ^1.0.5" ,
You can’t perform that action at this time.
0 commit comments