Trying something dumb

This commit is contained in:
bingus_violet 2024-05-17 18:27:05 -05:00
parent 6ab16fa4d3
commit 7c9797fa0e
3 changed files with 30 additions and 2 deletions

BIN
bun.lockb Executable file

Binary file not shown.

View file

@ -4,7 +4,7 @@
"description": "Violets Purgatory is a personal webapp for",
"main": "index.js",
"scripts": {
"start": "node index.js"
"start": "bun run index.js"
},
"repository": {
"type": "git",
@ -21,5 +21,11 @@
"minify-html": "^0.0.2",
"ws": "^8.16.0",
"youtubei.js": "^9.0.2"
},
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}
}

22
tsconfig.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
]
}
}