51 lines
1.8 KiB
JSON
51 lines
1.8 KiB
JSON
{
|
|
"name": "serpentrace-backend",
|
|
"version": "1.0.0",
|
|
"description": "Backend API for SerpentRace application",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"dev": "nodemon --exec ts-node src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"start:prod": "NODE_ENV=production node dist/index.js",
|
|
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli -d ormconfig.ts",
|
|
"migration:create": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli migration:create",
|
|
"migration:generate": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli -d ormconfig.ts migration:generate",
|
|
"migration:run": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli -d ormconfig.ts migration:run",
|
|
"migration:revert": "npm run typeorm -- migration:revert",
|
|
"migration:full": "ts-node scripts/generate-migration.ts",
|
|
"migration": "ts-node scripts/run-migration.ts"
|
|
},
|
|
"dependencies": {
|
|
"@types/aws-sdk": "^0.0.42",
|
|
"aws-sdk": "^2.1692.0",
|
|
"bcryptjs": "^2.4.3",
|
|
"compression": "^1.8.0",
|
|
"cookie-parser": "^1.4.6",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^4.18.2",
|
|
"helmet": "^7.2.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"mariadb": "^3.2.2",
|
|
"morgan": "^1.10.0",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typeorm": "^0.3.17",
|
|
"winston": "^3.17.0",
|
|
"winston-s3-transport": "^2.0.10"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/compression": "^1.7.5",
|
|
"@types/cookie-parser": "^1.4.6",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"@types/morgan": "^1.9.9",
|
|
"@types/node": "^20.8.0",
|
|
"nodemon": "^3.0.1",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.2.2"
|
|
}
|
|
}
|