-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.45 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "transit-planner",
"version": "1.0.0",
"description": "",
"scripts": {
"dev": "nodemon --watch \"src/**\" --ext \"ts,json\" --ignore \"src/**/*.spec.ts\" --exec \"ts-node src/server.ts\"",
"build": "tsc",
"start": "node dist/server.js",
"postinstall": "mkdir public/api-docs && cp node_modules/swagger-ui-dist/swagger-ui.css public/api-docs/swagger-ui.css && cp node_modules/swagger-ui-dist/swagger-ui-bundle.js public/api-docs/swagger-ui-bundle.js && cp node_modules/swagger-ui-dist/swagger-ui-standalone-preset.js public/api-docs/swagger-ui-standalone-preset.js && prisma generate",
"lint": "eslint src/**/*.ts",
"test": "pnpm run testut && pnpm run testit && pnpm run coverage",
"testut": "jest --testPathIgnorePatterns=.*\\.integration.test.ts --setupFilesAfterEnv ./test/config/prisma.mock.ts ./test/config/auth.mock.ts --coverageDirectory=./coverage/unit/ && cp ./coverage/unit/coverage-final.json ./coverage/coverage-final-unit.json",
"testit": "jest .*.integration.test.ts --runInBand --setupFilesAfterEnv ./test/config/it-mocks.ts --coverageDirectory=./coverage/integration/ && cp ./coverage/integration/coverage-final.json ./coverage/coverage-final-integration.json",
"coverage": "nyc report --reporter json-summary --reporter text --reporter html -t coverage --report-dir coverage/summary"
},
"keywords": [],
"author": "",
"license": "ISC",
"packageManager": "pnpm@10.14.0",
"dependencies": {
"@prisma/client": "^6.9.0",
"@types/uuid": "^10.0.0",
"cors": "^2.8.5",
"express": "^5.1.0",
"express-openapi-validator": "^5.5.6",
"google-auth-library": "^10.2.1",
"helmet": "^8.1.0",
"jest-mock-extended": "^4.0.0",
"logger": "^0.0.1",
"sqlite3": "^5.1.7",
"swagger-ui-dist": "^5.0.1",
"swagger-ui-express": "^5.0.1",
"uuid": "^11.1.0",
"winston": "^3.17.0",
"yaml": "^2.8.0"
},
"devDependencies": {
"@eslint/js": "^9.28.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.3",
"@types/jest": "^29.5.14",
"@types/node": "^22.15.30",
"@types/supertest": "^6.0.3",
"@types/swagger-ui-express": "^4.1.8",
"dotenv": "^16.5.0",
"eslint": "^9.28.0",
"jest": "^29.7.0",
"nodemon": "^3.1.10",
"nyc": "^17.1.0",
"prisma": "^6.9.0",
"supertest": "^7.1.4",
"ts-jest": "^29.3.4",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.33.1"
}
}