-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
104 lines (104 loc) · 3.7 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
{
"name": "imobify-backend",
"version": "0.0.1",
"private": true,
"description": "",
"license": "UNLICENSED",
"author": "Gabriel Lima",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"cz": "cz",
"db:dev:restart": "npm run db:dev:rm && npm run db:dev:up && sleep 5 && npm run prisma:dev:deploy",
"db:dev:rm": "docker compose rm dev-db -s -f",
"db:dev:up": "docker compose up dev-db -d",
"db:test:restart": "npm run db:test:rm && npm run db:test:up && sleep 5 && npm run prisma:test:deploy",
"db:test:rm": "docker compose rm test-db -s -f -v",
"db:test:up": "docker compose up test-db -d",
"deploy": "prisma generate && npm run build && npm run prisma:dev:deploy && npm run start:prod",
"eslint:check": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"eslint:fix": "npm run eslint:check -- --fix",
"lint": "npm run eslint:check && npm run prettier:check",
"precommit": "lint-staged && npm run lint",
"prepush": "npm run test",
"prettier:check": "prettier --check ./**/*.{ts,js,json,*rc}",
"prettier:write": "prettier --write ./**/*.{ts,js,json,*rc}",
"prisma:dev:deploy": "prisma migrate deploy",
"prisma:test:deploy": "dotenv -e .env.test -- prisma migrate deploy",
"start": "npm run deploy",
"start:debug": "nest start --debug --watch",
"start:dev": "nest start --watch",
"start:prod": "node dist/src/main",
"test": "dotenv -e .env.test -- jest --runInBand --passWithNoTests --verbose --no-cache --config ./test/jest-e2e.json",
"test:cov": "dotenv -e .env.test -- jest --coverage",
"test:debug": "dotenv -e .env.test -- node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "dotenv -e .env.test -- jest --runInBand --watch --verbose --no-cache --config ./test/jest-e2e.json",
"test:watch": "dotenv -e .env.test -- jest --watch"
},
"dependencies": {
"@nestjs/common": "10.2.1",
"@nestjs/core": "10.2.1",
"@nestjs/jwt": "10.1.0",
"@nestjs/mapped-types": "*",
"@nestjs/passport": "10.0.1",
"@nestjs/platform-express": "10.2.1",
"@prisma/client": "5.3.1",
"argon2": "0.31.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.0",
"cloudinary": "1.40.0",
"nestjs-form-data": "1.9.0",
"passport": "0.6.0",
"passport-jwt": "4.0.1",
"reflect-metadata": "0.1.13",
"rimraf": "5.0.1",
"rxjs": "7.8.1",
"streamifier": "0.1.1"
},
"devDependencies": {
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
"@faker-js/faker": "8.0.2",
"@nestjs/cli": "10.1.13",
"@nestjs/schematics": "10.0.2",
"@nestjs/testing": "10.2.1",
"@types/express": "4.17.17",
"@types/jest": "29.5.4",
"@types/multer": "1.4.7",
"@types/node": "20.5.3",
"@types/passport-jwt": "3.0.9",
"@types/supertest": "2.0.12",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"commitizen": "4.3.0",
"cz-conventional-changelog": "3.3.0",
"dotenv-cli": "7.3.0",
"eslint": "8.47.0",
"eslint-config-prettier": "8.10.0",
"eslint-plugin-import": "2.28.1",
"form-data-lite": "1.0.3",
"husky": "8.0.3",
"jest": "29.6.3",
"lint-staged": "13.3.0",
"pactum": "3.5.0",
"prettier": "2.8.8",
"prisma": "5.3.1",
"source-map-support": "0.5.21",
"supertest": "6.3.3",
"ts-jest": "29.1.1",
"ts-loader": "9.4.4",
"ts-node": "10.9.1",
"tsconfig-paths": "4.2.0",
"typescript": "5.1.6"
},
"optionalDependencies": {
"fsevents": "2.3.3"
},
"engines": {
"node": "^16.14.0 || ^18.10.0 || ^20.0.0",
"npm": ">=8.0.0"
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
}
}