This repository has been archived by the owner on Mar 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
137 lines (137 loc) · 3.98 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
{
"name": "bnet-auth-service",
"version": "2.0.0",
"private": true,
"description": "Battle.net access token retrieval microservice",
"keywords": [
"battlenet",
"bnet",
"authentication",
"api",
"backend",
"microservice"
],
"homepage": "https://github.com/sc2pte/bnet-auth-service#readme",
"bugs": {
"url": "https://github.com/sc2pte/bnet-auth-service/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sc2pte/bnet-auth-service.git"
},
"license": "MIT",
"author": "Łukasz Wójcik",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"dev": "nest start --watch",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"format:staged": "pretty-quick --stage",
"generate-ssl-cert": "node scripts/generate-ssl-cert.js",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"lint:check": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"prepare": "husky install",
"start": "IS_TS_NODE=true ts-node -r tsconfig-paths/register src/main.ts",
"start:debug": "nest start --debug --watch",
"start:dev": "nest start --watch",
"start:prod": "node dist/main",
"test": "npm run test:unit; npm run test:e2e",
"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",
"test:unit": "jest",
"test:watch": "jest --watch"
},
"lint-staged": {
"package.json": "sort-package-json",
"*.ts": "eslint --cache --fix --cache-file=node_modules/.cache/.eslintcache"
},
"jest": {
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"coveragePathIgnorePatterns": [
"jest.setup.redis-mock.js",
"<rootDir>/main.ts"
],
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"setupFilesAfterEnv": [
"<rootDir>/../jest.setup.redis-mock.js"
],
"testEnvironment": "node",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.ts$": "ts-jest"
}
},
"resolutions": {
"@types/eslint": "8.4.3"
},
"dependencies": {
"@fastify/swagger": "^8.3.1",
"@liaoliaots/nestjs-redis": "^9.0.5",
"@nestjs/common": "^9.3.10",
"@nestjs/config": "^2.3.1",
"@nestjs/core": "^9.3.10",
"@nestjs/jwt": "^10.0.2",
"@nestjs/passport": "^9.0.3",
"@nestjs/platform-fastify": "^9.3.10",
"@nestjs/schedule": "^2.2.0",
"@nestjs/swagger": "^6.2.1",
"@nestjs/throttler": "^4.0.0",
"blizzapi": "^2.5.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"ioredis": "^5.3.1",
"joi": "^17.8.4",
"luxon": "^3.3.0",
"nestjs-pino": "^3.1.2",
"nestjs-request-context": "^2.1.0",
"passport": "^0.6.0",
"passport-jwt": "^4.0.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^4.4.0",
"rxjs": "^7.8.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@nestjs/cli": "^9.2.0",
"@nestjs/schematics": "^9.0.4",
"@nestjs/testing": "^9.3.10",
"@types/cron": "^2.0.0",
"@types/jest": "29.4.2",
"@types/luxon": "^3.2.0",
"@types/module-alias": "^2.0.1",
"@types/node": "^18.15.3",
"@types/passport-jwt": "^3.0.8",
"@types/supertest": "^2.0.12",
"@types/uuid": "^9.0.1",
"eslint": "^8.36.0",
"eslint-config-lukemnet": "^1.0.2",
"husky": "^8.0.3",
"ioredis-mock": "^8.2.6",
"jest": "^29.5.0",
"jest-mock": "^29.5.0",
"lint-staged": "^13.2.0",
"make-cert": "^1.2.1",
"module-alias": "^2.2.2",
"pino-pretty": "^10.0.0",
"prettier": "^2.8.4",
"pretty-quick": "^3.1.3",
"sort-package-json": "^2.4.1",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2",
"typescript": "^4.9.5"
}
}