UNPKG

type-graphql

Version:

Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

132 lines (131 loc) • 3.66 kB
{ "name": "type-graphql", "version": "1.1.1", "author": { "name": "Michał Lytek", "url": "https://github.com/MichalLytek" }, "scripts": { "dev": "node ./dev.js", "test": "jest --verbose --coverage", "test:ci": "jest --verbose --coverage --ci --forceExit --detectOpenHandles --runInBand", "test:watch": "jest --watch", "format": "prettier --write \"{src,tests,examples}/**/*.{ts,js}\" \"docs/**/*.md\"", "check:format": "prettier --check \"{src,tests,examples}/**/*.{ts,js}\" \"docs/**/*.md\"", "check:type": "tsc --noEmit", "//check": "npm run check:format && npm run check:type", "check": "npm run check:type", "lint": "tslint --project tsconfig.json", "verify": "npm run check && npm run lint", "package": "gulp package", "docs": "npm run --prefix website start", "postinstall": "node ./dist/postinstall || exit 0" }, "peerDependencies": { "class-validator": ">=0.12.0", "graphql": "^15.3.0" }, "dependencies": { "@types/glob": "^7.1.3", "@types/node": "*", "@types/semver": "^7.3.3", "glob": "^7.1.6", "graphql-query-complexity": "^0.7.0", "graphql-subscriptions": "^1.1.0", "semver": "^7.3.2", "tslib": "^2.0.1" }, "devDependencies": { "@apollo/federation": "^0.20.4", "@apollo/gateway": "^0.21.0", "@graphql-modules/core": "^0.7.17", "@graphql-modules/di": "^0.7.17", "@mikro-orm/core": "^4.0.7", "@mikro-orm/postgresql": "^4.0.7", "@typegoose/typegoose": "^7.4.1", "@types/gulp": "^4.0.7", "@types/gulp-replace": "0.0.31", "@types/ioredis": "^4.17.4", "@types/jest": "^26.0.14", "@types/mongoose": "^5.7.36", "@types/node": "^14.11.2", "@types/rimraf": "^3.0.0", "apollo-cache-control": "^0.11.3", "apollo-server": "^2.18.1", "class-validator": "^0.12.2", "del": "^6.0.0", "graphql": "^15.3.0", "graphql-redis-subscriptions": "^2.3.1", "graphql-tag": "^2.11.0", "gulp-replace": "^1.0.0", "gulp-shell": "^0.8.0", "gulp-typescript": "^5.0.1", "gulpclass": "^0.2.0", "husky": "^4.3.0", "ioredis": "^4.17.3", "jest": "^26.4.2", "joiful": "^2.0.1", "lint-staged": "^10.4.0", "mongoose": "^5.10.7", "pg": "^8.3.3", "prettier": "^2.1.2", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", "ts-jest": "^26.4.1", "ts-node": "^9.0.0", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "tslint-eslint-rules": "^5.4.0", "typedi": "^0.8.0", "typeorm": "^0.2.28", "typeorm-typedi-extensions": "^0.2.3", "typescript": "~4.0.3" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "{src,tests,examples}/**/*.ts": [ "tslint --fix", "prettier --write" ], "{src,tests,examples}/**/*.js": [ "prettier --write" ], "docs/**/*.md": [ "prettier --write" ] }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "readmeFilename": "README.md", "description": "Create GraphQL schema and resolvers with TypeScript, using classes and decorators!", "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/typegraphql" }, "repository": { "type": "git", "url": "https://github.com/MichalLytek/type-graphql.git" }, "bugs": { "url": "https://github.com/MichalLytek/type-graphql/issues" }, "keywords": [ "typescript", "graphql", "schema", "resolvers", "api", "decorators", "controllers", "apollo" ], "engines": { "node": ">= 10.3" }, "private": false }