project-knedita/package.json

89 lines
2.8 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 -r tsconfig-paths/register --transpile-only --respawn src/server.ts",
"docker": "docker compose --env-file docker.env up -d",
2023-06-20 20:05:15 +00:00
"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",
"lint": "eslint --ignore-path .eslintignore --ext .js,.ts .",
2023-06-20 20:05:15 +00:00
"migrate:dev": "prisma migrate dev",
"migrate:dev:create": "prisma migrate dev --create-only",
"migrate:reset": "prisma migrate reset",
"prepare": "husky install",
2023-06-20 20:05:15 +00:00
"prisma:generate": "npx prisma generate",
"prisma:seed": "prisma db seed",
"prisma:studio": "npx prisma studio",
2023-08-22 19:57:34 +00:00
"prod:start": "npx prisma migrate deploy && pm2-runtime start dist/server.js"
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": {
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@faker-js/faker": "^8.0.2",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.66",
"@types/bcrypt": "^5.0.0",
"@types/compression": "^1.7.2",
"@types/cors": "^2.8.13",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.17",
"@types/jsonwebtoken": "^9.0.2",
"@types/morgan": "^1.9.4",
"@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.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.9.0",
"eslint-config-standard-with-typescript": "^37.0.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"nodemon": "^3.0.1",
"pm2": "^4.2.3",
"prettier": "^3.0.0",
"prisma": "^5.0.0",
"supertest": "^6.3.3",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.6"
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",
"cors": "^2.8.5",
2023-06-20 20:05:15 +00:00
"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",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"multer-s3": "^3.0.1",
"rate-limit-redis": "^3.0.2",
"redis": "^4.6.7",
"sharp": "^0.32.3",
"socket.io": "^4.7.2",
"validator": "^13.9.0",
"winston": "^3.10.0"
2023-06-20 20:05:15 +00:00
}
2023-08-22 19:57:34 +00:00
}