project-knedita/package.json

65 lines
1.9 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",
"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/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": "^2.0.22",
"pm2": "^5.3.0",
"prisma": "^4.16.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": "^4.16.0",
"bcrypt": "^5.1.0",
"compression": "^1.7.4",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.0",
"validator": "^13.9.0"
}
}