type-graphql
Version:
Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
196 lines (195 loc) • 6.98 kB
JSON
{
"name": "type-graphql",
"version": "2.0.0-beta.3",
"private": false,
"description": "Create GraphQL schema and resolvers with TypeScript, using classes and decorators!",
"keywords": [
"typescript",
"graphql",
"schema",
"resolvers",
"api",
"decorators",
"controllers",
"apollo"
],
"homepage": "https://typegraphql.com",
"bugs": {
"url": "https://github.com/MichalLytek/type-graphql/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MichalLytek/type-graphql.git"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/TypeGraphQL"
},
{
"type": "opencollective",
"url": "https://opencollective.com/typegraphql"
}
],
"license": "MIT",
"author": "Michał Lytek (https://github.com/MichalLytek)",
"exports": {
".": {
"require": "./build/cjs/index.js",
"import": "./build/esm/index.js",
"types": "./build/typings/index.d.ts"
}
},
"main": "./build/cjs/index.js",
"module": "./build/esm/index.js",
"types": "./build/typings/index.d.ts",
"files": [
"./build"
],
"scripts": {
"prebuild": "npm run clean:build && npm run check:version",
"build": "npx tsc --build ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.typings.json",
"postbuild": "npx shx rm ./build/typings/browser-shim.d.ts && npx shx cp ./src/browser-shim.ts ./build/typings && npx ts-node ./scripts/package.json.ts --on root",
"prebuild:benchmarks": "npm run clean:build:benchmarks",
"build:benchmarks": "npx tsc --build ./benchmarks/tsconfig.json",
"check": "npx npm-run-all --npm-path npm \"check:*\"",
"check:benchmarks": "npx tsc --project ./benchmarks/tsconfig.json --noEmit",
"check:examples": "npx tsc --project ./examples/tsconfig.json --noEmit",
"check:format": "npx prettier --check .",
"check:lint": "npx eslint .",
"check:markdown": "npx markdownlint \"**/*.md\"",
"check:script": "npx shellcheck ./.husky/pre-commit",
"check:scripts": "npx tsc --project ./scripts/tsconfig.json --noEmit",
"check:spell": "npx cspell lint --config cspell.json --no-progress --show-context \"**\"",
"check:type": "npx npm-run-all --npm-path npm \"check:type:*\"",
"check:type:cjs": "npx tsc --project ./tsconfig.cjs.json --noEmit",
"check:type:esm": "npx tsc --project ./tsconfig.esm.json --noEmit",
"check:type:tests": "npx tsc --project ./tests/tsconfig.json --noEmit",
"check:type:typings": "npx tsc --project ./tsconfig.typings.json --noEmit --emitDeclarationOnly false",
"check:version": "npx ts-node ./scripts/version.ts",
"clean": "npx npm-run-all --npm-path npm \"clean:*\"",
"clean:build": "npx shx rm -rf ./build",
"clean:build:benchmarks": "npx shx rm -rf ./benchmarks/build",
"clean:coverage": "npx shx rm -rf ./coverage",
"prepublishOnly": "npm run build && npm run gen:readme",
"pretest": "npm run clean:coverage",
"test": "npx jest --verbose --coverage",
"pretest:ci": "npm run clean:coverage",
"test:ci": "npx jest --verbose --coverage --ci --forceExit --runInBand",
"release": "npm version --message \"release: %s\"",
"version": "npm run --prefix ./website new-release --release=$npm_package_version && git add -A .",
"docs": "npm run start --prefix website",
"fix": "npx npm-run-all --npm-path npm \"fix:*\"",
"fix:format": "npx prettier --write .",
"fix:lint": "npx eslint --fix .",
"fix:markdown": "npx markdownlint --fix \"**/*.md\"",
"gen:docs": "npx ts-node ./scripts/markdown.ts --on docs",
"gen:readme": "npx ts-node ./scripts/markdown.ts --on readme",
"gen:sponsorkit": "npx sponsorkit --width=320 --dir=./images --name=github-sponsors",
"postgen:sponsorkit": "npx shx cp ./images/github-sponsors.svg ./website/static/img/github-sponsors.svg",
"prepare": "npx ts-patch install -s && npx husky install"
},
"peerDependencies": {
"class-validator": ">=0.14.0",
"graphql": "^16.7.1",
"graphql-scalars": "^1.22.2"
},
"peerDependenciesMeta": {
"class-validator": {
"optional": true
}
},
"dependencies": {
"@types/node": "*",
"@types/semver": "^7.5.0",
"graphql-query-complexity": "^0.12.0",
"graphql-subscriptions": "^2.0.0",
"semver": "^7.5.4",
"tslib": "^2.6.0"
},
"devDependencies": {
"@apollo/cache-control-types": "^1.0.3",
"@apollo/gateway": "^2.5.1",
"@apollo/server": "^4.9.1",
"@apollo/server-plugin-response-cache": "^4.1.3",
"@apollo/subgraph": "^2.5.1",
"@cspell/dict-node": "^4.0.2",
"@cspell/dict-npm": "^5.0.7",
"@cspell/dict-shell": "^1.0.3",
"@cspell/dict-typescript": "^3.1.1",
"@cspell/eslint-plugin": "^6.31.2",
"@graphql-tools/schema": "^10.0.0",
"@graphql-tools/utils": "^10.0.4",
"@mikro-orm/core": "^5.7.13",
"@mikro-orm/postgresql": "^5.7.13",
"@typegoose/typegoose": "^11.4.0",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.3",
"@types/lodash.merge": "^4.6.7",
"@types/node": "^20.4.9",
"@types/shelljs": "^0.8.12",
"@types/ws": "^8.5.5",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"body-parser": "^1.20.2",
"class-validator": "^0.14.0",
"cors": "^2.8.5",
"cspell": "^6.31.2",
"dotenv": "^16.3.1",
"eslint": "^8.45.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-tsdoc": "^0.2.17",
"expect": "^29.6.1",
"express": "^4.18.2",
"glob": "^10.3.3",
"graphql": "^16.7.1",
"graphql-redis-subscriptions": "^2.6.0",
"graphql-scalars": "^1.22.2",
"graphql-tag": "^2.12.6",
"graphql-ws": "^5.14.0",
"husky": "^8.0.3",
"ioredis": "^5.3.2",
"jest": "^29.6.1",
"joiful": "^3.0.2",
"lint-staged": "^13.2.3",
"lodash.merge": "^4.6.2",
"markdownlint": "^0.29.0",
"markdownlint-cli": "^0.35.0",
"mongoose": "^7.4.0",
"npm-run-all": "^4.1.5",
"pg": "^8.11.1",
"prettier": "^3.0.0",
"prettier-plugin-sh": "^0.13.1",
"reflect-metadata": "^0.1.13",
"shellcheck": "^2.2.0",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"sponsorkit": "^0.8.7",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"ts-patch": "^3.0.2",
"tsconfig-paths": "^4.2.0",
"tsyringe": "^4.8.0",
"typedi": "^0.10.0",
"typeorm": "^0.3.17",
"typescript": "^5.1.6",
"typescript-transform-paths": "^3.4.6",
"typescript-transformer-esm": "^1.1.0",
"ws": "^8.13.0",
"yargs": "^17.7.2"
},
"engines": {
"node": ">= 16.16.0"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}