25 lines
818 B
JSON
25 lines
818 B
JSON
{
|
|
"name": "proxy-detection-api",
|
|
"version": "1.0.0",
|
|
"main": "src/index.ts",
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"@types/node": "^22.15.30",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"description": "Simple API to detect if IP is exposed when using a proxy",
|
|
"scripts": {
|
|
"dev": "bun run --watch src/index.ts",
|
|
"start": "bun run src/index.ts",
|
|
"build": "bun build src/index.ts --outdir ./dist --target bun",
|
|
"test": "echo \"No tests specified yet\" && exit 0",
|
|
"docker:build": "docker build -t proxy-detection-api .",
|
|
"docker:run": "docker run -p 9999:9999 proxy-detection-api",
|
|
"docker:dev": "docker-compose up --build",
|
|
"docker:prod": "docker-compose --profile production up -d"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^11.0.1",
|
|
"fastify": "^5.3.3"
|
|
}
|
|
}
|