-
Notifications
You must be signed in to change notification settings - Fork 98
/
package.json
129 lines (129 loc) · 4.36 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
{
"name": "truthy-api",
"version": "0.3.3",
"description": "Truthy API",
"author": "gobeam <[email protected]>",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"prettier:check": "prettier --check ./**/*.{ts,js,json,*rc}",
"prettier:write": "prettier --write ./**/*.{ts,js,json,*rc}",
"start": "nest start",
"start:dev": "NODE_ENV=development nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"coverage": "jest --coverage",
"coveralls": "yarn run coverage --coverageReporters=text-lcov | coveralls",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test:watch": "jest --config ./test/unit/jest-unit.json --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": "NODE_ENV=test jest --config ./test/e2e/jest-e2e.json --runInBand --detectOpenHandles",
"test:unit": "NODE_ENV=test jest --config ./test/unit/jest-unit.json --runInBand",
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js --config src/config/ormconfig.ts",
"orm-create": "npm run typeorm migration:create -- -n",
"migrate": "npm run typeorm migration:run",
"migration:rollback": "npm run typeorm migration:revert",
"seed": "ts-node -r tsconfig-paths/register ./node_modules/typeorm-seeding/dist/cli.js seed -n src/config/ormconfig.ts",
"precommit": "lint-staged && npm run lint",
"prepush": "npm run test:unit && npm run test:e2e",
"prepare": "husky install"
},
"dependencies": {
"@aws-sdk/client-cloudwatch-logs": "^3.54.1",
"@faker-js/faker": "^6.0.0",
"@nestjs-modules/mailer": "^1.8.1",
"@nestjs/bull": "^0.5.3",
"@nestjs/common": "^8.4.1",
"@nestjs/core": "^8.4.1",
"@nestjs/jwt": "^8.0.0",
"@nestjs/mapped-types": "^1.0.1",
"@nestjs/passport": "^8.2.1",
"@nestjs/platform-express": "^9.0.5",
"@nestjs/serve-static": "^2.2.2",
"@nestjs/swagger": "^5.2.0",
"@nestjs/throttler": "^2.0.1",
"@nestjs/typeorm": "^8.0.3",
"@types/cookie-parser": "^1.4.2",
"aws-sdk": "^2.1096.0",
"bcrypt": "^5.0.0",
"bull": "^4.7.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"config": "^3.3.7",
"cookie-parser": "^1.4.6",
"coveralls": "^3.1.1",
"helmet": "^5.1.1",
"ioredis": "^4.28.5",
"nest-winston": "^1.6.2",
"nestjs-i18n": "^8.2.2",
"nestjs-throttler-storage-redis": "^0.1.18",
"nodemailer": "^6.7.2",
"otplib": "^12.0.1",
"passport": "^0.6.0",
"passport-jwt": "^4.0.0",
"pg": "^8.7.3",
"pug": "^3.0.2",
"qrcode": "^1.5.0",
"rate-limiter-flexible": "^2.3.6",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.5.5",
"swagger-ui-express": "^4.3.0",
"typeorm": "^0.2.41",
"typeorm-seeding": "^1.6.1",
"ua-parser-js": "^1.0.2",
"uuid": "^8.3.2",
"winston": "^3.6.0",
"winston-cloudwatch": "^3.2.0"
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@nestjs/cli": "^9.0.0",
"@nestjs/schematics": "^8.0.8",
"@nestjs/testing": "^8.4.1",
"@types/bull": "^3.15.8",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.1",
"@types/multer": "^1.4.7",
"@types/node": "17.0.21",
"@types/passport-jwt": "^3.0.6",
"@types/supertest": "^2.0.10",
"@types/ua-parser-js": "^0.7.36",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.7",
"prettier": "^2.6.0",
"rimraf": "^3.0.2",
"supertest": "^6.2.2",
"ts-jest": "^27.1.3",
"ts-loader": "^9.2.8",
"ts-node": "^10.7.0",
"tsconfig-paths": "^3.14.0",
"typescript": "^4.6.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"
}
}