mirror of
https://github.com/hknsh/project-knedita.git
synced 2024-11-28 17:41:15 +00:00
63 lines
1.8 KiB
JSON
63 lines
1.8 KiB
JSON
{
|
|
"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",
|
|
"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"
|
|
},
|
|
"ts-standard": {
|
|
"project": "tsconfig.json",
|
|
"ignore": [
|
|
"prisma/*",
|
|
"dist"
|
|
]
|
|
},
|
|
"author": "Cookie",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@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",
|
|
"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"
|
|
},
|
|
"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"
|
|
}
|
|
}
|