You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.3 KiB
51 lines
1.3 KiB
{
|
|
"name": "api-project",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "src/server.ts",
|
|
"scripts": {
|
|
"start": "node dist/server.js",
|
|
"build": "tsup src/server.ts --format cjs --clean",
|
|
"dev": "nodemon --watch src -e js,ts,json --exec \"ts-node src/server.ts\"",
|
|
"test": "jest --detectOpenHandles",
|
|
"test:watch": "jest --watchAll",
|
|
"test:coverage": "jest --coverage",
|
|
"test:CI": "jest --coverage --testTimeout=120000"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@types/express": "^4.17.21",
|
|
"@types/morgan": "^1.9.9",
|
|
"dotenv": "^16.3.1",
|
|
"cors": "^2.8.5",
|
|
"express": "^4.18.2",
|
|
"helmet": "^7.1.0",
|
|
"morgan": "^1.10.0",
|
|
"nodemon": "^3.0.1",
|
|
"pg": "^8.11.3",
|
|
"supertest": "^6.3.3",
|
|
"ts-node": "^10.9.1",
|
|
"tsup": "^7.2.0",
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.17",
|
|
"@types/jest": "^29.5.8",
|
|
"@types/pg": "^8.10.9",
|
|
"@types/supertest": "^2.0.16",
|
|
"jest": "^29.7.0",
|
|
"jest-sonar-reporter": "^2.0.0",
|
|
"ts-jest": "^29.1.1"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testMatch": ["<rootDir>/tests/**/*.spec.ts"],
|
|
"testResultsProcessor": "jest-sonar-reporter"
|
|
},
|
|
"jestSonar": {
|
|
"reportPath": "./coverage",
|
|
"reportFile": "sonar-report.xml"
|
|
}
|
|
}
|