forked from lifefloating/nestjs-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 3.93 KB
/
Copy pathpackage.json
File metadata and controls
131 lines (131 loc) · 3.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "nestjs-project-template",
"version": "1.0.0",
"description": "NestJS project structure template with best practices using Fastify, Prisma, MongoDB, and SWC",
"main": "dist/main.js",
"scripts": {
"prebuild": "rimraf dist",
"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",
"start:repl": "nest start --entryFile repl",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"prepare": "husky",
"test": "jest",
"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": "jest --config ./test/jest-e2e.json",
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate deploy",
"prisma:studio": "prisma studio",
"db:seed": "ts-node prisma/seed.ts"
},
"keywords": [],
"author": {
"name": "fuyou",
"email": "imshuazi@126.com",
"url": "https://github.com/lifefloating"
},
"license": "MIT",
"packageManager": "pnpm@10.6.5",
"engines": {
"node": ">=20.0.0"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.772.0",
"@aws-sdk/lib-storage": "^3.772.0",
"@aws-sdk/s3-request-presigner": "^3.772.0",
"@fastify/compress": "^8.0.1",
"@fastify/cors": "^11.0.0",
"@fastify/helmet": "^13.0.1",
"@fastify/multipart": "^9.0.3",
"@fastify/swagger": "^9.4.2",
"@fastify/swagger-ui": "^5.2.2",
"@nestjs/common": "^11.0.11",
"@nestjs/config": "^4.0.1",
"@nestjs/core": "^11.0.11",
"@nestjs/jwt": "^11.0.0",
"@nestjs/passport": "^11.0.5",
"@nestjs/platform-fastify": "^11.0.11",
"@nestjs/swagger": "^11.0.6",
"@prisma/client": "^6.5.0",
"ali-oss": "^6.22.0",
"bcryptjs": "^3.0.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"cos-nodejs-sdk-v5": "^2.14.7",
"dotenv": "^16.4.7",
"fastify": "^5.2.1",
"fastify-multer": "^2.0.3",
"joi": "^17.13.3",
"nestjs-pino": "^4.3.1",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"pino-http": "^10.4.0",
"pino-pretty": "^13.0.0",
"reflect-metadata": "^0.2.2",
"rimraf": "^6.0.1",
"rxjs": "^7.8.2",
"swagger-ui-express": "^5.0.1",
"uuid": "^11.1.0"
},
"devDependencies": {
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@eslint/eslintrc": "^3.3.0",
"@eslint/js": "^9.22.0",
"@nestjs/cli": "^11.0.5",
"@nestjs/schematics": "^11.0.2",
"@nestjs/testing": "^11.0.11",
"@swc/cli": "^0.6.0",
"@swc/core": "^1.11.11",
"@types/ali-oss": "^6.16.11",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.10",
"@types/passport-jwt": "^4.0.1",
"@types/passport-local": "^1.0.38",
"@types/supertest": "^6.0.2",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.26.1",
"@typescript-eslint/parser": "^8.26.1",
"eslint": "^9.22.0",
"eslint-config-prettier": "10.1.1",
"eslint-plugin-prettier": "5.2.3",
"globals": "^16.0.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"prettier": "^3.5.3",
"prisma": "^6.5.0",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.2.6",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.1"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}