2023-06-20 20:05:15 +00:00
|
|
|
{
|
|
|
|
"name": "social-media-app",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "A social media",
|
|
|
|
"scripts": {
|
2023-06-24 20:38:34 +00:00
|
|
|
"build": "swc src -d dist",
|
2023-06-23 18:15:11 +00:00
|
|
|
"dev:start": "ts-node-dev --transpile-only --respawn src/server.ts",
|
2023-06-20 20:05:15 +00:00
|
|
|
"docker": "docker compose up -d",
|
|
|
|
"docker:build": "docker build -t api . && docker compose up -d",
|
|
|
|
"docker:db": "docker compose -f docker-compose.db.yml up -d",
|
|
|
|
"docker:seed": "docker exec -it api npm run prisma:seed",
|
|
|
|
"migrate:dev": "prisma migrate dev",
|
|
|
|
"migrate:dev:create": "prisma migrate dev --create-only",
|
|
|
|
"migrate:reset": "prisma migrate reset",
|
|
|
|
"prisma:generate": "npx prisma generate",
|
|
|
|
"prisma:seed": "prisma db seed",
|
|
|
|
"prisma:studio": "npx prisma studio",
|
2023-07-17 20:47:05 +00:00
|
|
|
"prisma:deploy": "npx prisma migrate deploy",
|
2023-06-24 20:38:34 +00:00
|
|
|
"prod:start": "pm2-runtime start dist/server.js",
|
2023-06-23 18:15:11 +00:00
|
|
|
"test": "jest"
|
2023-06-20 20:05:15 +00:00
|
|
|
},
|
2023-06-23 18:15:11 +00:00
|
|
|
"ts-standard": {
|
|
|
|
"project": "tsconfig.json",
|
2023-06-20 20:05:15 +00:00
|
|
|
"ignore": [
|
2023-06-23 18:15:11 +00:00
|
|
|
"prisma/*",
|
|
|
|
"dist"
|
2023-06-20 20:05:15 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"author": "Cookie",
|
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
2023-06-27 23:24:26 +00:00
|
|
|
"@faker-js/faker": "^8.0.2",
|
2023-06-24 20:38:34 +00:00
|
|
|
"@swc/cli": "^0.1.62",
|
|
|
|
"@swc/core": "^1.3.66",
|
|
|
|
"@swc/jest": "^0.2.26",
|
2023-06-23 18:15:11 +00:00
|
|
|
"@types/bcrypt": "^5.0.0",
|
|
|
|
"@types/compression": "^1.7.2",
|
|
|
|
"@types/dotenv": "^8.2.0",
|
|
|
|
"@types/express": "^4.17.17",
|
|
|
|
"@types/jest": "^29.5.2",
|
|
|
|
"@types/jsonwebtoken": "^9.0.2",
|
2023-07-17 20:47:05 +00:00
|
|
|
"@types/multer-s3": "^3.0.0",
|
2023-06-23 18:15:11 +00:00
|
|
|
"@types/node": "^20.3.1",
|
|
|
|
"@types/supertest": "^2.0.12",
|
|
|
|
"@types/validator": "^13.7.17",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
2023-06-20 20:05:15 +00:00
|
|
|
"jest": "^29.5.0",
|
2023-07-17 20:47:05 +00:00
|
|
|
"nodemon": "^3.0.1",
|
|
|
|
"pm2": "^4.2.3",
|
|
|
|
"prisma": "^5.0.0",
|
2023-06-23 18:15:11 +00:00
|
|
|
"supertest": "^6.3.3",
|
|
|
|
"ts-jest": "^29.1.0",
|
|
|
|
"ts-node-dev": "^2.0.0",
|
|
|
|
"ts-standard": "^12.0.2",
|
|
|
|
"typescript": "^5.1.3"
|
2023-06-20 20:05:15 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-07-17 20:47:05 +00:00
|
|
|
"@prisma/client": "^5.0.0",
|
|
|
|
"aws-sdk": "^2.1414.0",
|
2023-06-20 20:05:15 +00:00
|
|
|
"bcrypt": "^5.1.0",
|
|
|
|
"compression": "^1.7.4",
|
|
|
|
"dotenv": "^16.3.1",
|
|
|
|
"express": "^4.18.2",
|
2023-07-12 18:05:17 +00:00
|
|
|
"express-rate-limit": "^6.7.1",
|
|
|
|
"ioredis": "^5.3.2",
|
2023-06-20 20:05:15 +00:00
|
|
|
"jsonwebtoken": "^9.0.0",
|
2023-07-17 20:47:05 +00:00
|
|
|
"multer": "^1.4.5-lts.1",
|
|
|
|
"multer-s3": "^3.0.1",
|
2023-07-12 18:05:17 +00:00
|
|
|
"rate-limit-redis": "^3.0.2",
|
2023-07-17 20:47:05 +00:00
|
|
|
"sharp": "^0.32.3",
|
2023-06-20 20:05:15 +00:00
|
|
|
"validator": "^13.9.0"
|
|
|
|
}
|
|
|
|
}
|