@envelop/resource-limitations
Version:
A rate-limit implementation based on resource limitations and static calculation of the score (similar to GitHub GraphQL API)
84 lines (83 loc) • 2.1 kB
JSON
{
"name": "@envelop/resource-limitations",
"version": "8.0.1-alpha-20260205002102-3907273d720911b1f0a452da1b772ad00bc8984d",
"type": "module",
"description": "A rate-limit implementation based on resource limitations and static calculation of the score (similar to GitHub GraphQL API)",
"repository": {
"type": "git",
"url": "https://github.com/graphql-hive/graphql-yoga",
"directory": "packages/plugins/resource-limitations"
},
"author": "Laurin Quast <laurinquast@googlemail.com>",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"main": "dist/index.cjs",
"typings": "dist/index.d.mts",
"module": "dist/index.mjs",
"exports": {
".": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"default": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"./*": {
"require": {
"types": "./dist/*.d.cts",
"default": "./dist/*.cjs"
},
"import": {
"types": "./dist/*.d.mts",
"default": "./dist/*.mjs"
},
"default": {
"types": "./dist/*.d.mts",
"default": "./dist/*.mjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"scripts": {
"build": "tsdown",
"check": "tsc --pretty --noEmit"
},
"peerDependencies": {
"@envelop/core": "workspace:*",
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"@envelop/extended-validation": "workspace:*",
"@graphql-tools/utils": "^10.0.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@envelop/core": "workspace:*",
"@graphql-tools/schema": "10.0.30",
"graphql": "16.12.0",
"tsdown": "^0.20.0-beta.1",
"typescript": "5.9.3"
},
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"buildOptions": {
"input": "./src/index.ts"
},
"typescript": {
"definition": "dist/index.d.mts"
}
}