project-knedita/package.json

74 lines
2.1 KiB
JSON
Raw Normal View History

2023-06-20 20:05:15 +00:00
{
"name": "social-media-app",
"version": "0.0.1",
"description": "A social media",
"scripts": {
"build": "swc src -d dist",
"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",
"prisma:deploy": "npx prisma migrate deploy",
"prod:start": "pm2-runtime start dist/server.js",
"test": "jest"
2023-06-20 20:05:15 +00:00
},
"ts-standard": {
"project": "tsconfig.json",
2023-06-20 20:05:15 +00:00
"ignore": [
"prisma/*",
"dist"
2023-06-20 20:05:15 +00:00
]
},
"author": "Cookie",
"license": "MIT",
"devDependencies": {
"@faker-js/faker": "^8.0.2",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.66",
"@swc/jest": "^0.2.26",
"@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",
"@types/multer-s3": "^3.0.0",
"@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",
"nodemon": "^3.0.1",
"pm2": "^4.2.3",
"prisma": "^5.0.0",
"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": {
"@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",
"express-rate-limit": "^6.7.1",
"ioredis": "^5.3.2",
2023-06-20 20:05:15 +00:00
"jsonwebtoken": "^9.0.0",
"multer": "^1.4.5-lts.1",
"multer-s3": "^3.0.1",
"rate-limit-redis": "^3.0.2",
"sharp": "^0.32.3",
2023-06-20 20:05:15 +00:00
"validator": "^13.9.0"
}
}