-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.93 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.93 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
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
89
90
{
"name": "uptime-kuma-hub-integration-api",
"version": "0.0.1",
"description": "Utility api to integrate grafana alerts with uptime kuma",
"author": "Farenheith",
"private": true,
"license": "MIT",
"scripts": {
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "npm run lint:format && npm run lint:style",
"lint:fix": "npm run lint:format:fix && npm run lint:style:fix",
"lint:format": "prettier --check '{src,test}/**/*.ts'",
"lint:format:fix": "prettier --write '{src,test}/**/*.ts'",
"lint:style": "eslint 'src/**' 'test/**'",
"lint:style:fix": "eslint 'src/**' 'test/**' --fix",
"prepare": "husky",
"test": "jest --runInBand --forceExit",
"test:watch": "jest --runInBand --forceExit --watch",
"test:cov": "jest --runInBand --forceExit --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@codibre/fluent-iterable": "^1.36.0",
"@fluent-iterable/rxjs": "^1.0.2",
"@nestjs/axios": "^3.0.2",
"@nestjs/common": "^10.4.16",
"@nestjs/core": "^11.1.5",
"@nestjs/cqrs": "^11.0.3",
"@nestjs/platform-express": "^11.1.5",
"axios": "^1.11.0",
"ms": "^2.1.3",
"reflect-metadata": "^0.2.2",
"remembered": "^0.11.0",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@nestjs/cli": "^10.4.9",
"@nestjs/schematics": "^10.1.1",
"@nestjs/testing": "^11.1.5",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/ms": "^0.7.34",
"@types/node": "^20.12.12",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"dotenv": "^16.4.5",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-no-type-assertion": "^1.3.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-unused-imports": "^3.2.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-callslike": "^0.2.1",
"prettier": "^3.2.5",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.1.3",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.4.5"
},
"jest": {
"preset": "ts-jest",
"rootDir": ".",
"testRegex": "test/unit/.*\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"src/**/*.ts"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"setupFilesAfterEnv": [
"./test/setup-jest.ts"
],
"moduleNameMapper": {
"^@((?:core|domain-model|domain|application|infrastructure|entrypoint)(?:/.*)?)": "<rootDir>/src/$1"
}
}
}