-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.78 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 2.78 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
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "nest-apijson-server",
"version": "1.0.0",
"description": "基于 NestJS 的 APIJSON 服务器实现",
"author": "APIJSON Team",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"build:prod": "nest build --webpack",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"test": "vitest run",
"test:watch": "vitest watch",
"test:cov": "vitest run --coverage",
"test:ui": "vitest --ui",
"test:unit": "vitest run src/**/*.spec.ts",
"test:integration": "vitest run src/test/integration/**/*.spec.ts",
"test:e2e": "vitest run src/test/e2e/**/*.spec.ts",
"typeorm": "typeorm-ts-node-commonjs",
"migration:generate": "typeorm migration:generate",
"migration:run": "typeorm migration:run",
"migration:revert": "typeorm migration:revert",
"schema:sync": "typeorm schema:sync",
"schema:drop": "typeorm schema:drop"
},
"dependencies": {
"@nestjs/common": "^11.1.11",
"@nestjs/config": "^4.0.2",
"@nestjs/core": "^11.1.11",
"@nestjs/jwt": "^11.0.2",
"@nestjs/platform-express": "^11.1.11",
"@nestjs/swagger": "^11.2.3",
"@nestjs/throttler": "^6.5.0",
"@nestjs/typeorm": "^11.0.0",
"@types/lodash": "^4.17.21",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.3",
"compression": "^1.8.1",
"express-rate-limit": "^8.2.1",
"helmet": "^8.1.0",
"ioredis": "^5.8.2",
"lodash": "^4.17.21",
"mysql2": "^3.16.0",
"pg": "^8.16.3",
"redis": "^5.10.0",
"reflect-metadata": "^0.2.2",
"rimraf": "^6.1.2",
"rxjs": "^7.8.2",
"sqlite3": "^5.1.7",
"typeorm": "^0.3.28",
"winston": "^3.19.0"
},
"devDependencies": {
"@nestjs/cli": "^11.0.14",
"@nestjs/schematics": "^11.0.9",
"@nestjs/testing": "^11.1.11",
"@types/express": "^5.0.6",
"@types/jest": "^30.0.0",
"@types/node": "^25.0.3",
"@types/supertest": "^6.0.3",
"@vitest/coverage-v8": "^1.0.0",
"jest": "^30.2.0",
"mockjs": "^1.1.0",
"source-map-support": "^0.5.21",
"supertest": "^7.1.4",
"ts-jest": "^29.4.6",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.3",
"vitest": "^4.0.16",
"webpack": "^5.104.1",
"webpack-cli": "^6.0.1",
"webpack-node-externals": "^3.0.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"keywords": [
"nestjs",
"apijson",
"rest",
"api",
"server",
"typescript",
"node"
]
}