- Add .gitignore to exclude api directory - Remove deprecated api/index.ts file - Create new public/index.html with improved UI and functionality - Update package.json build script to copy index.html to dist - Enhance request handling in index.html with custom headers and presets - Improve response display with status, time, and size metrics
20 lines
502 B
JSON
20 lines
502 B
JSON
{
|
|
"name": "proxy-bun",
|
|
"module": "api/index.ts",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "bun build src/index.ts --target=bun --outdir=api && mkdir -p dist && cp public/index.html dist/index.html",
|
|
"start": "bun run src/index.ts",
|
|
"dev": "bun --hot run src/index.ts",
|
|
"test": "bun test",
|
|
"lint": "biome check .",
|
|
"lint:fix": "biome check --write .",
|
|
"check": "bunx tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.14",
|
|
"@types/bun": "latest"
|
|
}
|
|
}
|