UNPKG

3.66 kBJSONView Raw
1{
2 "name": "type-graphql",
3 "version": "1.1.1",
4 "author": {
5 "name": "Michał Lytek",
6 "url": "https://github.com/MichalLytek"
7 },
8 "scripts": {
9 "dev": "node ./dev.js",
10 "test": "jest --verbose --coverage",
11 "test:ci": "jest --verbose --coverage --ci --forceExit --detectOpenHandles --runInBand",
12 "test:watch": "jest --watch",
13 "format": "prettier --write \"{src,tests,examples}/**/*.{ts,js}\" \"docs/**/*.md\"",
14 "check:format": "prettier --check \"{src,tests,examples}/**/*.{ts,js}\" \"docs/**/*.md\"",
15 "check:type": "tsc --noEmit",
16 "//check": "npm run check:format && npm run check:type",
17 "check": "npm run check:type",
18 "lint": "tslint --project tsconfig.json",
19 "verify": "npm run check && npm run lint",
20 "package": "gulp package",
21 "docs": "npm run --prefix website start",
22 "postinstall": "node ./dist/postinstall || exit 0"
23 },
24 "peerDependencies": {
25 "class-validator": ">=0.12.0",
26 "graphql": "^15.3.0"
27 },
28 "dependencies": {
29 "@types/glob": "^7.1.3",
30 "@types/node": "*",
31 "@types/semver": "^7.3.3",
32 "glob": "^7.1.6",
33 "graphql-query-complexity": "^0.7.0",
34 "graphql-subscriptions": "^1.1.0",
35 "semver": "^7.3.2",
36 "tslib": "^2.0.1"
37 },
38 "devDependencies": {
39 "@apollo/federation": "^0.20.4",
40 "@apollo/gateway": "^0.21.0",
41 "@graphql-modules/core": "^0.7.17",
42 "@graphql-modules/di": "^0.7.17",
43 "@mikro-orm/core": "^4.0.7",
44 "@mikro-orm/postgresql": "^4.0.7",
45 "@typegoose/typegoose": "^7.4.1",
46 "@types/gulp": "^4.0.7",
47 "@types/gulp-replace": "0.0.31",
48 "@types/ioredis": "^4.17.4",
49 "@types/jest": "^26.0.14",
50 "@types/mongoose": "^5.7.36",
51 "@types/node": "^14.11.2",
52 "@types/rimraf": "^3.0.0",
53 "apollo-cache-control": "^0.11.3",
54 "apollo-server": "^2.18.1",
55 "class-validator": "^0.12.2",
56 "del": "^6.0.0",
57 "graphql": "^15.3.0",
58 "graphql-redis-subscriptions": "^2.3.1",
59 "graphql-tag": "^2.11.0",
60 "gulp-replace": "^1.0.0",
61 "gulp-shell": "^0.8.0",
62 "gulp-typescript": "^5.0.1",
63 "gulpclass": "^0.2.0",
64 "husky": "^4.3.0",
65 "ioredis": "^4.17.3",
66 "jest": "^26.4.2",
67 "joiful": "^2.0.1",
68 "lint-staged": "^10.4.0",
69 "mongoose": "^5.10.7",
70 "pg": "^8.3.3",
71 "prettier": "^2.1.2",
72 "reflect-metadata": "^0.1.13",
73 "rimraf": "^3.0.2",
74 "ts-jest": "^26.4.1",
75 "ts-node": "^9.0.0",
76 "tslint": "^6.1.3",
77 "tslint-config-prettier": "^1.18.0",
78 "tslint-eslint-rules": "^5.4.0",
79 "typedi": "^0.8.0",
80 "typeorm": "^0.2.28",
81 "typeorm-typedi-extensions": "^0.2.3",
82 "typescript": "~4.0.3"
83 },
84 "husky": {
85 "hooks": {
86 "pre-commit": "lint-staged"
87 }
88 },
89 "lint-staged": {
90 "{src,tests,examples}/**/*.ts": [
91 "tslint --fix",
92 "prettier --write"
93 ],
94 "{src,tests,examples}/**/*.js": [
95 "prettier --write"
96 ],
97 "docs/**/*.md": [
98 "prettier --write"
99 ]
100 },
101 "main": "./dist/index.js",
102 "types": "./dist/index.d.ts",
103 "readmeFilename": "README.md",
104 "description": "Create GraphQL schema and resolvers with TypeScript, using classes and decorators!",
105 "license": "MIT",
106 "funding": {
107 "type": "opencollective",
108 "url": "https://opencollective.com/typegraphql"
109 },
110 "repository": {
111 "type": "git",
112 "url": "https://github.com/MichalLytek/type-graphql.git"
113 },
114 "bugs": {
115 "url": "https://github.com/MichalLytek/type-graphql/issues"
116 },
117 "keywords": [
118 "typescript",
119 "graphql",
120 "schema",
121 "resolvers",
122 "api",
123 "decorators",
124 "controllers",
125 "apollo"
126 ],
127 "engines": {
128 "node": ">= 10.3"
129 },
130 "private": false
131}