2022-03-01 23:42:31 +03:00
|
|
|
{
|
2022-03-09 15:46:41 +03:00
|
|
|
"dependencies": {
|
2022-11-16 17:11:22 +03:00
|
|
|
"@prisma/client": "4.5.0",
|
2022-09-16 16:55:26 +03:00
|
|
|
"cookie-parser": "~1.4.6",
|
2022-03-09 15:46:41 +03:00
|
|
|
"cors": "^2.8.5",
|
2022-09-16 16:55:26 +03:00
|
|
|
"dotenv": "16.0.2",
|
|
|
|
"express": "~4.18.1",
|
|
|
|
"helmet": "^6.0.0",
|
2022-03-09 15:46:41 +03:00
|
|
|
"jsonwebtoken": "^8.5.1",
|
2023-03-01 19:14:14 +03:00
|
|
|
"lodash.merge": "^4.6.2",
|
2022-09-16 16:55:26 +03:00
|
|
|
"morgan": "~1.10.0",
|
2022-09-06 21:35:59 +03:00
|
|
|
"patch-package": "^6.4.7",
|
|
|
|
"secure-password": "^4.0.0",
|
2022-09-16 16:55:26 +03:00
|
|
|
"uuid": "^9.0.0"
|
2022-03-09 15:46:41 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-11-25 22:10:10 +03:00
|
|
|
"@tsconfig/node18": "^1.0.1",
|
2023-02-27 20:19:17 +03:00
|
|
|
"@types/express": "^4.17.13",
|
2023-03-14 21:04:51 +03:00
|
|
|
"@types/express-serve-static-core": "^4.17.13",
|
2022-11-24 17:03:19 +03:00
|
|
|
"@types/node": "^18.11.9",
|
2022-09-16 16:55:26 +03:00
|
|
|
"nodemon": "^2.0.19",
|
2022-11-16 17:11:22 +03:00
|
|
|
"prisma": "4.5.0",
|
2022-11-24 17:03:19 +03:00
|
|
|
"standard": "^17.0.0",
|
|
|
|
"typescript": "^4.8.4"
|
2022-03-09 15:46:41 +03:00
|
|
|
},
|
2022-06-17 18:02:54 +03:00
|
|
|
"engineStrict": true,
|
2022-03-09 15:46:41 +03:00
|
|
|
"engines": {
|
2023-02-13 18:10:40 +03:00
|
|
|
"node": "^18.12.0"
|
2022-03-09 15:46:41 +03:00
|
|
|
},
|
|
|
|
"name": "server",
|
|
|
|
"nodemonConfig": {
|
|
|
|
"delay": "1000"
|
|
|
|
},
|
2022-09-20 17:51:47 +03:00
|
|
|
"overrides": {
|
|
|
|
"secure-password": {
|
|
|
|
"sodium-native": "3.3.0"
|
|
|
|
}
|
|
|
|
},
|
2022-03-09 15:46:41 +03:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2022-11-24 17:03:19 +03:00
|
|
|
"build": "npx tsc",
|
|
|
|
"build-and-start": "npm run build && npm run start",
|
2022-03-09 15:46:41 +03:00
|
|
|
"db-migrate-dev": "prisma migrate dev --schema=../db/schema.prisma",
|
|
|
|
"db-migrate-prod": "prisma migrate deploy --schema=../db/schema.prisma",
|
2022-09-06 21:35:59 +03:00
|
|
|
"postinstall": "patch-package",
|
2022-03-09 15:46:41 +03:00
|
|
|
"standard": "standard",
|
2023-02-21 13:52:37 +03:00
|
|
|
"start": "npm run validate-env && NODE_PATH=dist node -r dotenv/config dist/server.js",
|
2023-02-17 21:33:25 +03:00
|
|
|
"start-production": "NODE_ENV=production npm run start",
|
2023-02-21 13:52:37 +03:00
|
|
|
"validate-env": "node -r dotenv/config ./scripts/validate-env.mjs",
|
2022-11-25 22:10:10 +03:00
|
|
|
"watch": "nodemon --exec 'npm run build-and-start || exit 1'"
|
2022-03-09 15:46:41 +03:00
|
|
|
},
|
2022-11-25 22:10:10 +03:00
|
|
|
"type": "module",
|
2022-03-09 15:46:41 +03:00
|
|
|
"version": "0.0.0"
|
2022-03-01 23:42:31 +03:00
|
|
|
}
|