Files
nowdatabase/backend/package.json
T

54 lines
1.8 KiB
JSON

{
"name": "backend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "npx tsx watch --clear-screen=false src/index.ts",
"build": "tsc",
"test": "jest src/api-tests --runInBand --coverage --config jest-config.js --detectOpenHandles --forceExit",
"test:with_reset": "cd .. && npm run anon:down && npm run start:anon -- -d && sleep 60 && cd backend && npm run test; cd .. && npm run anon:down",
"start": "node build/index.js",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"prisma": "prisma generate --schema prisma/schema.prisma && prisma generate --schema prisma/schema_log.prisma",
"clean": "rm -rf node_modules && rm -rf prisma/generated && rm -rf build"
},
"author": "",
"devDependencies": {
"@babel/core": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.24.7",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"prisma": "^5.13.0",
"tsx": "^4.7.1",
"typescript-eslint": "^7.0.2"
},
"dependencies": {
"@jest/globals": "^29.7.0",
"@prisma/client": "^5.13.0",
"@types/bcrypt": "^5.0.2",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.6",
"@types/md5": "^2.3.5",
"@types/nodemailer": "^6.4.15",
"bcrypt": "^5.1.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.18.2",
"express-async-errors": "^3.1.1",
"jsonwebtoken": "^9.0.2",
"mariadb": "^3.3.0",
"md5": "^2.3.0",
"nodemailer": "^6.9.14",
"typescript": "^5.4.5"
}
}