forked from kkoomen/nestjs-throttler-storage-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 3.94 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
{
"name": "nestjs-throttler-storage-redis",
"version": "0.3.0",
"description": "Redis storage provider for the @nestjs/throttler package",
"author": "Kim 金可明 <koomen@pm.me>",
"keywords": [
"nestjs",
"rate-limit",
"throttle",
"express",
"fastify",
"redis"
],
"private": false,
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prebuild": "rimraf dist",
"preversion": "yarn run format && yarn run lint && git add -A && yarn build",
"build": "nest build",
"commit": "git-cz",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start:dev": "nodemon --watch '{src,test/app}/**/*.ts' --ignore '**/*.spec.ts' --exec 'ts-node' test/app/main.ts",
"lint": "eslint \"{src,apps,dist,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",
"test:e2e:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --config test/jest-e2e.json --runInBand",
"test:e2e:dev": "yarn test:e2e --watchAll",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md"
},
"devDependencies": {
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@nestjs/cli": ">=7.0.0",
"@nestjs/common": ">=7.0.0",
"@nestjs/core": ">=7.0.0",
"@nestjs/graphql": ">=7.0.0",
"@nestjs/platform-express": ">=7.0.0",
"@nestjs/platform-fastify": ">=7.0.0",
"@nestjs/platform-socket.io": ">=7.0.0",
"@nestjs/platform-ws": ">=7.0.0",
"@nestjs/schematics": ">=7.0.0",
"@nestjs/testing": ">=7.0.0",
"@nestjs/throttler": "^4.0.0",
"@nestjs/websockets": ">=7.0.0",
"@types/express": "^4.17.12",
"@types/jest": "27.5.0",
"@types/node": "^18.0.0",
"@types/socket.io-client": "^3.0.0",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.36.2",
"apollo-server-express": "^2.25.1",
"conventional-changelog-cli": "^2.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"husky": "^7.0.0",
"ioredis": "^5.0.4",
"jest": "^27.0.4",
"lint-staged": "^13.0.0",
"nodemon": "^2.0.7",
"prettier": "^2.3.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^4.1.2",
"rxjs": "^7.1.0",
"socket.io-client": "^4.1.2",
"supertest": "^6.1.3",
"ts-jest": "27.1.4",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"tsconfig-paths": "^4.0.0",
"typescript": "^4.3.4"
},
"peerDependencies": {
"@nestjs/common": ">=7.0.0",
"@nestjs/core": ">=7.0.0",
"@nestjs/throttler": ">=4.0.0",
"ioredis": "^5.0.4",
"reflect-metadata": "^0.1.13"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --ext ts"
],
"*.{md,html,json,js}": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/kkoomen/nestjs-throttler-storage-redis.git"
},
"bugs": {
"url": "https://github.com/kkoomen/nestjs-throttler-storage-redis/issues"
},
"homepage": "https://github.com/kkoomen/nestjs-throttler-storage-redis#readme"
}