- Fix TypeScript import paths to use relative imports instead of aliases - Add comprehensive backward compatibility test script - Verify existing functionality works correctly: * Legacy /api/track endpoint: ✅ * /api/v1/track POST endpoint: ✅ * /api/v1/track GET endpoint: ✅ - Ready for Docker testing of new TypeScript implementation
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"name": "@redirect-intelligence/api",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "tsx watch --clear-screen=false src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"lint": "eslint src --ext .ts,.tsx",
|
|
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"dependencies": {
|
|
"express": "^4.18.2",
|
|
"cors": "^2.8.5",
|
|
"cookie-parser": "^1.4.6",
|
|
"express-rate-limit": "^7.1.5",
|
|
"rate-limiter-flexible": "^5.0.3",
|
|
"axios": "^1.6.7",
|
|
"undici": "^6.2.1",
|
|
"zod": "^3.22.4",
|
|
"@prisma/client": "*",
|
|
"argon2": "^0.31.2",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"bullmq": "^4.15.4",
|
|
"ioredis": "^5.3.2",
|
|
"helmet": "^7.1.0",
|
|
"compression": "^1.7.4",
|
|
"dotenv": "^16.3.1",
|
|
"jsdom": "^23.0.1",
|
|
"winston": "^3.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.21",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/cookie-parser": "^1.4.6",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"@types/compression": "^1.7.5",
|
|
"@types/jsdom": "^21.1.6",
|
|
"@types/node": "^20.10.0",
|
|
"tsx": "^4.6.2",
|
|
"typescript": "^5.3.0",
|
|
"jest": "^29.7.0",
|
|
"@types/jest": "^29.5.8",
|
|
"ts-jest": "^29.1.1",
|
|
"supertest": "^6.3.3",
|
|
"@types/supertest": "^2.0.16"
|
|
}
|
|
}
|