-
-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathpackage.json
122 lines (122 loc) · 3.74 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
113
114
115
116
117
118
119
120
121
122
{
"name": "prime-nestjs",
"version": "2.0.0",
"description": "A production-ready NestJS boilerplate with authentication, TypeORM, Swagger and more.",
"author": {
"name": "Joseph Goksu",
"email": "[email protected]",
"url": "https://josephgoksu.com"
},
"private": false,
"license": "MIT",
"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",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"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",
"typeorm": "typeorm-ts-node-commonjs -d ./src/config/database.ts",
"schema:sync": "npm run typeorm schema:sync",
"migration:generate": "npm run typeorm migration:generate",
"migration:run": "npm run typeorm migration:run",
"migration:revert": "npm run typeorm migration:revert",
"drop:database": "npm run typeorm schema:drop",
"docker:build": "docker compose build",
"docker:up": "docker compose up -d",
"docker:down": "docker compose down",
"security:audit": "npm audit",
"prepare": "if [ -d '.git' ]; then husky install; fi"
},
"dependencies": {
"@casl/ability": "6.7.2",
"@nestjs/common": "10.4.15",
"@nestjs/config": "3.3.0",
"@nestjs/core": "10.4.15",
"@nestjs/jwt": "10.2.0",
"@nestjs/mapped-types": "2.0.6",
"@nestjs/passport": "10.0.3",
"@nestjs/platform-express": "10.4.15",
"@nestjs/schedule": "4.1.2",
"@nestjs/swagger": "8.1.0",
"@nestjs/typeorm": "10.0.2",
"bcryptjs": "2.4.3",
"class-validator": "0.14.1",
"dotenv": "16.4.7",
"helmet": "8.0.0",
"passport": "0.7.0",
"passport-jwt": "4.0.1",
"passport-local": "1.0.0",
"pg": "8.13.1",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1",
"swagger-ui-express": "5.0.1",
"typeorm": "0.3.20"
},
"devDependencies": {
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "10.4.15",
"@types/bcryptjs": "2.4.6",
"@types/cron": "2.0.1",
"@types/eslint": "9.6.1",
"@types/eslint-config-prettier": "6.11.3",
"@types/eslint-plugin-prettier": "3.1.3",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.2",
"@types/passport": "1.0.17",
"@types/passport-jwt": "4.0.1",
"@types/passport-local": "1.0.38",
"@types/pg": "8.11.10",
"@types/prettier": "2.7.3",
"@types/rimraf": "3.0.2",
"@types/supertest": "6.0.2",
"@types/swagger-ui-express": "4.1.7",
"@typescript-eslint/eslint-plugin": "8.18.2",
"@typescript-eslint/parser": "8.18.2",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"husky": "^9.1.7",
"jest": "29.7.0",
"prettier": "3.4.2",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
}
}