-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
112 lines (112 loc) · 3.8 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "nest-boilerplate",
"version": "0.1.0",
"description": "A starter template for NestJS with support for database, swagger, config, logging, validation, exception handling, docker, testing and CI.",
"author": "Mark Njung'e",
"license": "MIT",
"scripts": {
"prepare": "husky",
"prebuild": "rimraf dist",
"build": "nest build",
"docs": "npx compodoc -p tsconfig.json -s",
"start": "nest start -b swc --type-check",
"start:dev": "nest start --watch -b swc --type-check",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"start:e2e": "nest start -b swc",
"migration:make": "knex migrate:make --knexfile src/db/knexfile.ts -x ts",
"migration:latest": "knex migrate:latest --knexfile src/db/knexfile.ts",
"migration:down": "knex migrate:down --knexfile src/db/knexfile.ts",
"migration:rollbackall": "knex migrate:rollback --all --knexfile src/db/knexfile.ts",
"migration:list": "knex migrate:list --knexfile src/db/knexfile.ts",
"lint": "eslint \"{src,apps,libs,test}/**/*.{ts,js}\"",
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.{ts,js}\" --fix",
"test": "jest --verbose",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "docker-compose -f docker-compose-e2e.yml up --abort-on-container-exit --exit-code-from test",
"posttest:e2e": "docker-compose -f docker-compose-e2e.yml down --rmi all",
"test:e2e:local": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@fastify/helmet": "^11.1.1",
"@fastify/multipart": "^8.1.0",
"@fastify/static": "^6.10.2",
"@nestjs/common": "^10.3.1",
"@nestjs/core": "^10.3.1",
"@nestjs/platform-fastify": "^10.3.1",
"@nestjs/swagger": "^7.2.0",
"@nestjs/throttler": "^5.1.1",
"@opentelemetry/api": "^1.8.0",
"@opentelemetry/auto-instrumentations-node": "^0.44.0",
"@opentelemetry/exporter-metrics-otlp-proto": "^0.50.0",
"@opentelemetry/exporter-trace-otlp-proto": "^0.50.0",
"@opentelemetry/resources": "^1.23.0",
"@opentelemetry/sdk-node": "^0.50.0",
"@opentelemetry/semantic-conventions": "^1.23.0",
"axios": "^1.6.8",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"config": "^3.3.11",
"dayjs": "^1.11.10",
"dotenv": "^16.4.1",
"knex": "^3.1.0",
"lodash": "^4.17.21",
"objection": "^3.1.3",
"pg": "^8.11.3",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"winston": "^3.11.0",
"winston-transport": "^4.6.0"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.23",
"@marknjunge/eslint-config-ts": "^2.2.0",
"@nestjs/cli": "^10.3.0",
"@nestjs/schematics": "^10.1.0",
"@nestjs/testing": "^10.3.1",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.82",
"@types/flat": "^5.0.5",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.14.202",
"@types/node": "^20.11.16",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",
"husky": "^9.0.10",
"jest": "^29.7.0",
"nodemon": "^3.0.3",
"rimraf": "^5.0.5",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "^5.3.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"setupFiles": [
"../test/util/logging.ts"
],
"moduleNameMapper": {
"@/(.*)": [
"<rootDir>/$1"
]
}
}
}