Files
redefined-designs/backend/package.json
T
bermudalamb 7f4479605a
SonarQube Analysis / sonarqube (pull_request) Successful in 2m42s
Tests / backend-unit (pull_request) Successful in 34s
Tests / backend-integration (pull_request) Successful in 50s
Tests / frontend-e2e (pull_request) Failing after 38s
chore: replace manual SQL migrations with node-pg-migrate
2026-08-14 10:05:09 -05:00

48 lines
1.6 KiB
JSON
Executable File

{
"name": "redefined-designs-backend",
"version": "1.0.0",
"private": true,
"main": "dist/server.js",
"scripts": {
"build": "tsc",
"start": "node dist/server.js",
"dev": "tsx watch src/server.ts",
"test": "npm run test:unit",
"test:unit": "jest -c jest.unit.config.js",
"test:unit:json": "jest -c jest.unit.config.js --json --outputFile=unit-results.json",
"test:integration": "jest -c jest.integration.config.js --runInBand",
"test:integration:json": "jest -c jest.integration.config.js --runInBand --json --outputFile=integration-results.json",
"db:test:up": "docker compose -f docker-compose.test.yml up -d",
"db:test:down": "docker compose -f docker-compose.test.yml down -v",
"migrate:up": "node migrate.js up",
"migrate:down": "node migrate.js down",
"migrate:create": "node-pg-migrate create --migration-file-language js"
},
"dependencies": {
"express": "^4.19.2",
"pg": "^8.12.0",
"multer": "^1.4.5-lts.1",
"bcryptjs": "^2.4.3",
"cookie-parser": "^1.4.6",
"nodemailer": "^6.9.14",
"node-cron": "^3.0.3",
"node-pg-migrate": "^7.6.1"
},
"devDependencies": {
"typescript": "^5.5.4",
"tsx": "^4.16.5",
"@types/express": "^4.17.21",
"@types/node": "^20.14.15",
"@types/multer": "^1.4.11",
"@types/pg": "^8.11.6",
"@types/bcryptjs": "^2.4.6",
"@types/cookie-parser": "^1.4.7",
"@types/nodemailer": "^6.4.15",
"@types/node-cron": "^3.0.11",
"jest": "^29.7.0",
"ts-jest": "^29.2.4",
"@types/jest": "^29.5.12",
"supertest": "^7.0.0",
"@types/supertest": "^6.0.2"
}
}