diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..771294b Binary files /dev/null and b/bun.lockb differ diff --git a/package.json b/package.json index 299ccca..a6924c0 100644 --- a/package.json +++ b/package.json @@ -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" } -} +} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..58a9877 --- /dev/null +++ b/tsconfig.json @@ -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 + ] + } + } \ No newline at end of file