@octokit/graphql-schema
Version:
GitHub's GraphQL Schema with validation. Automatically updated.
86 lines (85 loc) • 2.08 kB
JSON
{
"name": "@octokit/graphql-schema",
"version": "15.26.1",
"publishConfig": {
"access": "public",
"provenance": true
},
"description": "GitHub's GraphQL Schema with validation. Automatically updated.",
"type": "module",
"scripts": {
"lint": "prettier --check '{bin,lib,test}/**/*.{js,ts}' *.md package.json",
"lint:fix": "prettier --write '{bin,lib,test}/**/*.{js,ts}' *.md package.json",
"test": "node test",
"validate:ts": "tsc --noEmit --noImplicitAny test/typescript-validate.ts",
"postvalidate:ts": "attw --pack . --ignore-rules cjs-resolves-to-esm",
"posttest": "npm run -s lint",
"download": "node bin/download.js",
"generate-typescript": "graphql-codegen",
"update": "npm run -s download && npm run -s generate-typescript"
},
"keywords": [
"github",
"graphql",
"schema",
"validation"
],
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"dependencies": {
"graphql": "^16.0.0",
"graphql-tag": "^2.10.3"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.0",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/typescript": "^4.0.0",
"@octokit/graphql": "^8.0.1",
"dotenv": "^16.0.0",
"execa": "^9.0.0",
"prettier": "^3.0.0",
"semantic-release": "^24.0.0",
"typescript": "^5.0.0"
},
"repository": "github:octokit/graphql-schema",
"types": "index.d.ts",
"sideEffects": false,
"release": {
"branches": [
"+([0-9]).x",
"main",
"next",
{
"name": "beta",
"prerelease": true
}
]
},
"codegen": {
"overwrite": true,
"schema": "schema.graphql",
"generates": {
"schema.d.ts": {
"plugins": [
"typescript"
],
"config": {
"enumsAsTypes": true,
"useImplementingTypes": true
}
}
}
},
"main": "index.js",
"files": [
"lib",
"index.*",
"schema.*"
],
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.js"
}
}
}