-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
88 lines (88 loc) · 2.07 KB
/
package.json
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "project",
"version": "0.0.1",
"scripts": {
"build": "del-cli --force ./dist && tsc",
"start": "ts-node ./src/app.ts",
"dev": "nodemon ./src/app.ts",
"test": "npx jest",
"typeorm": "npm run build && typeorm -d dist/typeorm.config.js",
"migration:run": "npm run typeorm -- migration:run"
},
"engines": {
"node": "20"
},
"dependencies": {
"@faker-js/faker": "^8.4.1",
"@koa/cors": "^5.0.0",
"axios": "^1.6.7",
"koa": "^2.15.0",
"koa-bodyparser": "^4.4.1",
"koa-helmet": "^7.0.2",
"koa-json": "^2.0.2",
"koa-router": "12.0.1",
"koa-swagger-decorator": "^1.8.7",
"pg": "^8.11.3",
"reflect-metadata": "^0.2.1",
"supertest-koa-agent": "^0.3.2",
"typeorm": "^0.3.20"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/koa": "^2.14.0",
"@types/koa__cors": "^5.0.0",
"@types/koa-bodyparser": "^4.3.12",
"@types/koa-helmet": "^6.0.8",
"@types/koa-json": "^2.0.23",
"@types/koa-router": "^7.4.8",
"@types/node": "^20.11.19",
"@types/supertest": "^6.0.2",
"@types/uuid": "^9.0.8",
"del-cli": "^5.1.0",
"jest": "^29.7.0",
"nodemon": "^3.0.3",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsc": "^2.0.4",
"tslint": "^6.1.3",
"typescript": "^5.4.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.{ts,js}",
"!**/node_modules/**",
"!**/build/**",
"!**/coverage/**"
],
"transform": {
"\\.ts$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"coverageReporters": [
"text",
"text-summary"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)x?$",
"testPathIgnorePatterns": [
"/node_modules/",
"/build/",
"/coverage/"
]
}
}