Add ability to run with bun

This commit is contained in:
Ninjdai1 2023-09-08 22:19:55 +02:00
parent 3f68a8b44b
commit cd2b1d85c0
3 changed files with 29 additions and 1 deletions

BIN
bun.lockb Executable file

Binary file not shown.

22
jsconfig.json Normal file
View File

@ -0,0 +1,22 @@
{
"compilerOptions": {
"lib": ["ESNext"],
"module": "esnext",
"target": "esnext",
"moduleResolution": "bundler",
"moduleDetection": "force",
"allowImportingTsExtensions": true,
"noEmit": true,
"composite": true,
"strict": true,
"downlevelIteration": true,
"skipLibCheck": true,
"jsx": "preserve",
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"allowJs": true,
"types": [
"bun-types" // add Bun global
]
}
}

View File

@ -30,5 +30,11 @@
"moment-duration-format": "^2.3.2",
"sequelize": "^6.32.1",
"sqlite3": "^5.1.6"
},
"devDependencies": {
"bun-types": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}
}