This repository has been archived by the owner on May 8, 2024. It is now read-only.
forked from teamplanes/graphql-rate-limit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) Β· 1.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
{
"name": "@opendoor/graphql-rate-limit",
"version": "3.1.1",
"description": "Add Rate Limiting To Your GraphQL Resolvers πββ",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "build/esm/index.js",
"repository": "https://github.com/opendoor-labs/graphql-rate-limit",
"license": "MIT",
"keywords": [],
"scripts": {
"prepare": "npm run build",
"build": "tsup ./src/index.ts --format esm,cjs --legacy-output --dts",
"example": "concurrently \"npm run build -w\" \"cd example && npm run dev\"",
"fix": "eslint ./src/**/*.ts --fix",
"test": "tsup ./src/index.ts && nyc --silent ava",
"lint": "eslint ./src/**/*.ts"
},
"files": [
"dist"
],
"engines": {
"node": ">=12.0",
"pnpm": ">=6"
},
"dependencies": {
"@graphql-tools/utils": "^7.6.0",
"graphql-shield": "^7.5.0",
"lodash.get": "^4.4.2",
"ms": "^2.1.3"
},
"peerDependencies": {
"graphql": "*"
},
"devDependencies": {
"@graphql-tools/schema": "^7.1.3",
"@types/lodash.get": "^4.4.6",
"@types/ms": "^0.7.31",
"@types/redis-mock": "^0.17.0",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"ava": "3.15.0",
"concurrently": "^6.0.0",
"eslint": "7.22.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-ava": "^11.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"graphql": "^15.5.0",
"graphql-middleware": "^6.0.4",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"redis-mock": "^0.56.3",
"standard-version": "^9.1.1",
"ts-node": "^9.1.1",
"tsup": "^4.8.19",
"typescript": "^4.2.3"
},
"ava": {
"failFast": true,
"extensions": [
"ts"
],
"files": [
"src/lib/**/*.spec.ts"
],
"require": [
"ts-node/register"
]
},
"prettier": {
"singleQuote": true
},
"nyc": {
"exclude": [
"**/*.spec.js"
]
}
}