-
-
Notifications
You must be signed in to change notification settings - Fork 675
/
package.json
195 lines (195 loc) · 6.82 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
{
"name": "type-graphql",
"version": "2.0.0-rc.2",
"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"
},
"./shim": {
"require": "./build/cjs/shim.js",
"import": "./build/esm/shim.js",
"types": "./build/typings/shim.ts"
}
},
"main": "./build/cjs/index.js",
"module": "./build/esm/index.js",
"browser": "./build/cjs/shim.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/shim.d.ts && npx shx cp ./src/shim.ts ./build/typings && npx ts-node ./scripts/package.json.ts",
"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",
"test:watch": "npx jest --watch",
"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.1",
"graphql": "^16.9.0",
"graphql-scalars": "^1.23.0"
},
"peerDependenciesMeta": {
"class-validator": {
"optional": true
}
},
"dependencies": {
"@graphql-yoga/subscription": "^5.0.1",
"@types/node": "*",
"@types/semver": "^7.5.8",
"graphql-query-complexity": "^1.0.0",
"semver": "^7.6.3",
"tslib": "^2.6.3"
},
"devDependencies": {
"@apollo/cache-control-types": "^1.0.3",
"@apollo/gateway": "^2.8.4",
"@apollo/server": "^4.10.5",
"@apollo/server-plugin-response-cache": "^4.1.3",
"@apollo/subgraph": "^2.8.4",
"@cspell/dict-node": "^5.0.1",
"@cspell/dict-npm": "^5.0.18",
"@cspell/dict-shell": "^1.0.6",
"@cspell/dict-typescript": "^3.1.6",
"@cspell/eslint-plugin": "^8.13.1",
"@graphql-tools/schema": "^10.0.4",
"@graphql-tools/utils": "^10.3.3",
"@graphql-yoga/redis-event-target": "^3.0.1",
"@mikro-orm/core": "^6.3.4",
"@mikro-orm/postgresql": "^6.3.4",
"@typegoose/typegoose": "^12.6.0",
"@types/jest": "^29.5.12",
"@types/lodash.merge": "^4.6.9",
"@types/node": "^22.1.0",
"@types/shelljs": "^0.8.15",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"class-validator": "^0.14.1",
"cspell": "^8.7.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.7.0",
"eslint-plugin-tsdoc": "^0.3.0",
"expect": "^29.7.0",
"glob": "^11.0.0",
"graphql": "^16.9.0",
"graphql-scalars": "^1.23.0",
"graphql-tag": "^2.12.6",
"graphql-yoga": "^5.6.3",
"husky": "^9.1.4",
"ioredis": "^5.4.1",
"jest": "^29.7.0",
"joiful": "^3.0.2",
"lint-staged": "^15.2.8",
"lodash.merge": "^4.6.2",
"markdownlint": "^0.34.0",
"markdownlint-cli": "^0.41.0",
"mongoose": "^8.5.2",
"npm-run-all": "^4.1.5",
"pg": "^8.12.0",
"prettier": "^3.3.3",
"prettier-plugin-sh": "^0.14.0",
"reflect-metadata": "0.1.13",
"shellcheck": "^3.0.0",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"sponsorkit": "^0.15.2",
"ts-jest": "^29.2.4",
"ts-node": "^10.9.2",
"ts-patch": "^3.2.1",
"tsconfig-paths": "^4.2.0",
"tsyringe": "^4.8.0",
"typedi": "^0.10.0",
"typeorm": "^0.3.20",
"typescript": "^5.5.4",
"typescript-transform-paths": "^3.4.9",
"typescript-transformer-esm": "^1.1.0",
"yargs": "^17.7.2"
},
"engines": {
"node": ">= 20.11.1"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}