-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
155 lines (155 loc) · 5.08 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "base-nest-api",
"version": "0.0.2",
"description": "This is a base project for NestJS API",
"author": {
"email": "gabrielmaialva33@gmail.com",
"name": "Gabriel Maia",
"url": "https://github.com/gabrielmaialva33"
},
"homepage": "https://github.com/gabrielmaialva33/base-nest-api#readme",
"repository": "https://github.com/gabrielmaialva33/base-nest-api.git",
"keywords": [
"api",
"postgres",
"sqlite",
"postgresql",
"openapi",
"objection-orm",
"api-rest",
"objectionjs",
"nestjs",
"better-sqlite3",
"nestjs-backend",
"zod"
],
"engines": {
"node": ">=20.12.1"
},
"private": true,
"license": "LICENSE",
"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": "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",
"db:status": "ts-node -r tsconfig-paths/register ./node_modules/knex/bin/cli.js --knexfile ./knexfile.ts migrate:status",
"db:migrate": "ts-node -r tsconfig-paths/register ./node_modules/knex/bin/cli.js --knexfile ./knexfile.ts migrate:latest",
"db:rollback": "ts-node -r tsconfig-paths/register ./node_modules/knex/bin/cli.js --knexfile ./knexfile.ts migrate:rollback",
"db:make": "ts-node -r tsconfig-paths/register ./node_modules/knex/bin/cli.js --knexfile ./knexfile.ts migrate:make $1 -x ts",
"db:reset": "ts-node -r tsconfig-paths/register ./node_modules/knex/bin/cli.js --knexfile ./knexfile.ts migrate:rollback && ts-node -r tsconfig-paths/register ./node_modules/knex/bin/cli.js --knexfile ./knexfile.ts migrate:latest",
"db:seed": "ts-node -r tsconfig-paths/register ./node_modules/knex/bin/cli.js --knexfile ./knexfile.ts seed:run",
"db:prune:sqlite": "rimraf ./src/database/database.sqlite"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.556.0",
"@aws-sdk/client-ses": "^3.556.0",
"@blazity/nest-file-fastify": "^1.0.0",
"@fastify/compress": "^7.0.3",
"@fastify/cors": "9.0.1",
"@fastify/formbody": "7.4.0",
"@fastify/helmet": "^11.1.1",
"@fastify/middie": "8.3.0",
"@fastify/multipart": "^8.2.0",
"@fastify/static": "^7.0.3",
"@ladjs/consolidate": "^1.0.3",
"@nestjs/axios": "^3.0.2",
"@nestjs/cache-manager": "^2.2.2",
"@nestjs/common": "^10.3.7",
"@nestjs/config": "^3.2.2",
"@nestjs/core": "^10.3.7",
"@nestjs/event-emitter": "^2.0.4",
"@nestjs/jwt": "^10.2.0",
"@nestjs/mapped-types": "^2.0.5",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.3.7",
"@nestjs/platform-fastify": "^10.3.7",
"@nestjs/schedule": "^4.0.2",
"@supercharge/request-ip": "^1.2.0",
"argon2": "^0.40.1",
"axios": "^1.6.8",
"better-sqlite3": "^9.5.0",
"cache-manager": "^5.5.1",
"dotenv": "^16.4.5",
"envalid": "^8.0.0",
"fast-glob": "^3.3.2",
"fastify": "4.26.2",
"firebase-admin": "^12.1.0",
"helper-fns": "^2.7.0",
"knex": "^3.1.0",
"luxon": "^3.4.4",
"mime-types": "^2.1.35",
"ms": "^2.1.3",
"nestjs-i18n": "^10.4.5",
"nodemailer": "^6.9.13",
"objection": "^3.1.4",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"pg": "^8.11.5",
"preview-email": "^3.0.19",
"reflect-metadata": "^0.2.2",
"rimraf": "^5.0.5",
"rxjs": "^7.8.1",
"twilio": "5.0.3",
"zod": "^3.22.4"
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@golevelup/ts-jest": "^0.5.0",
"@nestjs/cli": "^10.3.2",
"@nestjs/schematics": "^10.1.1",
"@nestjs/testing": "^10.3.7",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/luxon": "^3.4.2",
"@types/mime-types": "^2.1.4",
"@types/node": "^20.12.7",
"@types/nodemailer": "^6.4.14",
"@types/passport-jwt": "^4.0.1",
"@types/passport-local": "^1.0.38",
"@types/preview-email": "^3.0.4",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"source-map-support": "^0.5.21",
"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.4.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"moduleNameMapper": {
"^@src/(.*)$": "<rootDir>/$1"
}
}
}