-
Notifications
You must be signed in to change notification settings - Fork 60
/
package.json
125 lines (125 loc) · 3.83 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
{
"name": "@nestjs/throttler",
"version": "6.2.1",
"description": "A Rate-Limiting module for NestJS to work on Express, Fastify, Websockets, Socket.IO, and GraphQL, all rolled up into a simple package.",
"author": "Jay McDoniel <[email protected]>",
"contributors": [],
"keywords": [
"nestjs",
"rate-limit",
"throttle",
"express",
"fastify",
"ws",
"gql",
"nest"
],
"publishConfig": {
"access": "public"
},
"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 && 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,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 --detectOpenHandles",
"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",
"prepare": "husky",
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable",
"release": "changeset publish"
},
"devDependencies": {
"@apollo/server": "4.11.2",
"@changesets/cli": "2.27.9",
"@commitlint/cli": "19.5.0",
"@commitlint/config-angular": "19.5.0",
"@nestjs/cli": "10.4.7",
"@nestjs/common": "10.4.8",
"@nestjs/core": "10.4.8",
"@nestjs/graphql": "12.2.1",
"@nestjs/platform-express": "10.4.8",
"@nestjs/platform-fastify": "10.4.8",
"@nestjs/platform-socket.io": "10.4.8",
"@nestjs/platform-ws": "10.4.8",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "10.4.8",
"@nestjs/websockets": "10.4.8",
"@semantic-release/git": "10.0.1",
"@types/express": "5.0.0",
"@types/express-serve-static-core": "5.0.1",
"@types/jest": "29.5.14",
"@types/node": "22.9.0",
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"apollo-server-fastify": "3.13.0",
"conventional-changelog-cli": "5.0.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"graphql": "16.9.0",
"graphql-tools": "9.0.3",
"husky": "9.1.6",
"jest": "29.7.0",
"lint-staged": "15.2.10",
"nodemon": "3.1.7",
"pactum": "^3.4.1",
"pinst": "3.0.0",
"prettier": "3.3.3",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1",
"socket.io": "4.8.1",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.6.3",
"ws": "8.18.0"
},
"peerDependencies": {
"@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
"@nestjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
"reflect-metadata": "^0.1.13 || ^0.2.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nestjs/throttler.git"
},
"bugs": {
"url": "https://github.com/nestjs/throttler/issues"
},
"homepage": "https://github.com/nestjs/throttler#readme"
}