-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 4.86 KB
/
package.json
File metadata and controls
135 lines (135 loc) · 4.86 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
132
133
134
135
{
"name": "@bloom-housing/backend",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/src/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest --config ./test/jest.config.js",
"test:watch": "jest --watch",
"test:cov": "yarn db:resetup && yarn db:migration:run && jest --config ./test/jest-with-coverage.config.js --logHeapUsage",
"test:cov-ci": "yarn db:migration:run && jest --config ./test/jest-with-coverage.config.js --runInBand --logHeapUsage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"db:resetup": "psql -c \"DROP DATABASE IF EXISTS bloom_prisma WITH (FORCE);\" && psql -c \"CREATE DATABASE bloom_prisma;\" && psql -d bloom_prisma -c \"CREATE EXTENSION IF NOT EXISTS \\\"uuid-ossp\\\";\"",
"db:migration:run": "yarn prisma migrate deploy",
"db:seed:production": "npx prisma db seed -- --environment production",
"db:seed:staging": "npx prisma db seed -- --environment staging",
"db:seed:development": "npx prisma db seed -- --environment development",
"generate:client": "ts-node scripts/generate-axios-client.ts && prettier -w ../shared-helpers/src/types/backend-swagger.ts",
"test:e2e": "yarn db:resetup && yarn db:migration:run && jest --config ./test/jest-e2e.config.js",
"db:setup": "yarn db:resetup && yarn db:migration:run && yarn db:seed:development",
"db:setup:staging": "yarn db:resetup && yarn db:migration:run && yarn db:seed:staging",
"setup": "yarn install && yarn prisma generate && yarn build && yarn db:setup:staging",
"db:migration:skip": "yarn prisma migrate resolve --applied ",
"setup:dev": "yarn install && yarn prisma generate && yarn build && yarn db:setup"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.1019.0",
"@aws-sdk/lib-storage": "^3.1019.0",
"@aws-sdk/s3-request-presigner": "^3.1019.0",
"@google-cloud/recaptcha-enterprise": "^6.4.0",
"@google-cloud/translate": "^9.3.0",
"@nestjs/axios": "^3.0.3",
"@nestjs/common": "^10.4.4",
"@nestjs/config": "^3.2.3",
"@nestjs/core": "^10.4.4",
"@nestjs/jwt": "^10.2.0",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.4.4",
"@nestjs/schedule": "^4.1.1",
"@nestjs/swagger": "^7.4.2",
"@nestjs/throttler": "^5.1.2",
"@prisma/client": "^5.3.0",
"@sendgrid/helpers": "^8.0.0",
"@sendgrid/mail": "7.7.0",
"@turf/boolean-point-in-polygon": "6.5.0",
"@turf/buffer": "6.5.0",
"@turf/helpers": "6.5.0",
"@turf/points-within-polygon": "6.5.0",
"@types/archiver": "^6.0.2",
"archiver": "^6.0.1",
"axios": "^1.14.0",
"casbin": "^5.49.0",
"class-transformer": "~0.5.1",
"class-validator": "~0.15.1",
"cloudinary": "^1.37.3",
"compression": "^1.8.1",
"cookie-parser": "~1.4.7",
"cron": "^3.1.7",
"dayjs": "~1.11.20",
"dotenv": "^17.3.1",
"exceljs": "^4.4.0",
"express": "^4.21.1",
"handlebars": "~4.7.8",
"jsonwebtoken": "~9.0.3",
"lodash": "~4.17.23",
"node-polyglot": "^2.6.0",
"passport": "~0.7.0",
"passport-jwt": "~4.0.1",
"passport-local": "~1.0.0",
"prisma": "^5.3.0",
"qs": "~6.15.0",
"reflect-metadata": "~0.2.2",
"rimraf": "^3.0.2",
"rxjs": "~7.8.2",
"sanitize-html": "^2.17.2",
"swagger-axios-codegen": "~0.18.1",
"twilio": "^4.15.0"
},
"devDependencies": {
"@nestjs/cli": "^10.4.5",
"@nestjs/schematics": "^10.1.4",
"@nestjs/testing": "^10.4.4",
"@types/compression": "^1.8.1",
"@types/exceljs": "1.3.2",
"@types/express": "~4.17.17",
"@types/jest": "~29.5.3",
"@types/node": "^18.7.14",
"@types/sanitize-html": "^2.16.1",
"@types/supertest": "~2.0.11",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "~29.6.2",
"jest-mock-extended": "^3.0.7",
"prettier": "^2.3.2",
"supertest": "^6.1.3",
"ts-jest": "~29.4.6",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
"tsconfig-paths": "^3.10.1",
"typescript": "^5.1.6",
"webpack": "^5.105.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
}
}