forked from gobeam/truthy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.95 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": "truthy-api",
"version": "0.3.0",
"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": "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": "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 ./node_modules/typeorm-seeding/dist/cli.js seed -n ./src/config/ormconfig.ts",
"precommit": "lint-staged && npm run lint && npm run test",
"prepush": "npm run test",
"prepare": "husky install"
},
"dependencies": {
"@nestjs-modules/mailer": "^1.6.1",
"@nestjs/bull": "^0.4.2",
"@nestjs/common": "^8.2.5",
"@nestjs/core": "^8.2.5",
"@nestjs/jwt": "^8.0.0",
"@nestjs/mapped-types": "^1.0.1",
"@nestjs/passport": "^8.1.0",
"@nestjs/platform-express": "^8.2.5",
"@nestjs/serve-static": "^2.2.2",
"@nestjs/swagger": "^5.1.5",
"@nestjs/throttler": "^2.0.0",
"@nestjs/typeorm": "^8.0.3",
"@types/cookie-parser": "^1.4.2",
"bcrypt": "^5.0.0",
"bull": "^4.2.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"config": "^3.3.7",
"cookie-parser": "^1.4.6",
"coveralls": "^3.1.1",
"ioredis": "^4.28.3",
"nestjs-i18n": "^8.2.2",
"nestjs-throttler-storage-redis": "^0.1.18",
"nodemailer": "^6.7.2",
"otplib": "^12.0.1",
"passport": "^0.5.2",
"passport-jwt": "^4.0.0",
"pg": "^8.7.1",
"pug": "^3.0.2",
"qrcode": "^1.5.0",
"rate-limiter-flexible": "^2.3.6",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.5.2",
"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"
},
"devDependencies": {
"@commitlint/cli": "^16.0.2",
"@commitlint/config-conventional": "^16.0.0",
"@nestjs/cli": "^8.2.0",
"@nestjs/schematics": "^8.0.5",
"@nestjs/testing": "^8.2.5",
"@types/bull": "^3.15.7",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.0",
"@types/multer": "^1.4.7",
"@types/node": "17.0.9",
"@types/passport-jwt": "^3.0.6",
"@types/supertest": "^2.0.10",
"@types/ua-parser-js": "^0.7.36",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"eslint": "^8.7.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"jest": "^27.4.7",
"lint-staged": "^12.1.7",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"supertest": "^6.2.1",
"ts-jest": "^27.1.3",
"ts-loader": "^9.2.6",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.12.0",
"typescript": "^4.5.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"
}
}