-
-
Notifications
You must be signed in to change notification settings - Fork 677
/
package.json
163 lines (163 loc) · 5.81 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
{
"name": "type-graphql",
"version": "2.0.0",
"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": "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": {
"name": "Michał Lytek",
"url": "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 && 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",
"prebuild:benchmarks": "npm run clean",
"build:benchmarks": "npx tsc --project ./benchmarks/tsconfig.json",
"build:examples": "npm run --prefix ./examples build",
"check": "npx npm-run-all --npm-path npm \"check:*\"",
"check:format": "npx prettier --check .",
"check:lint": "npx eslint .",
"check:markdown": "npx markdownlint \"**/*.md\"",
"check:script": "npx shellcheck ./.husky/pre-commit",
"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:typings": "npx tsc --project ./tsconfig.typings.json --noEmit --emitDeclarationOnly false",
"check:type:benchmarks": "npx tsc --project ./benchmarks/tsconfig.json --noEmit",
"precheck:type:examples": "npx tsc --project ./tsconfig.typings.json",
"check:type:examples": "npx tsc --project ./examples/tsconfig.json --noEmit",
"check:type:scripts": "npx tsc --project ./scripts/tsconfig.json --noEmit",
"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:coverage": "npx shx rm -rf coverage",
"docs": "npm run --prefix website start",
"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:readme": "npx ts-node ./scripts/markdown.ts --skip-docs",
"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",
"prepublishOnly": "npm run build && npm run gen:readme",
"release": "npm version --message \"release: %s\"",
"pretest": "npm run clean",
"test": "npx jest --verbose --coverage",
"pretest:ci": "npm run clean",
"test:ci": "npx jest --verbose --coverage --ci --forceExit --runInBand",
"pretest:watch": "npm run clean",
"test:watch": "npx jest --watch",
"version": "npm run --prefix website version --release=$npm_package_version"
},
"dependencies": {
"@types/node": "*",
"@types/semver": "^7.3.13",
"graphql-query-complexity": "^0.12.0",
"graphql-subscriptions": "^2.0.0",
"semver": "^7.3.8",
"tslib": "^2.5.0"
},
"devDependencies": {
"@cspell/dict-node": "^4.0.2",
"@cspell/dict-npm": "^5.0.5",
"@cspell/dict-shell": "^1.0.3",
"@cspell/dict-typescript": "^3.1.1",
"@cspell/eslint-plugin": "^6.31.1",
"@graphql-tools/schema": "^9.0.17",
"@graphql-tools/utils": "^9.2.1",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@types/shelljs": "^0.8.11",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"class-validator": "^0.14.0",
"cspell": "^6.31.1",
"eslint": "^8.37.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-tsdoc": "^0.2.17",
"glob": "^9.3.4",
"graphql": "^16.6.0",
"graphql-scalars": "^1.21.3",
"graphql-tag": "^2.12.6",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.0",
"markdownlint": "^0.28.0",
"markdownlint-cli": "^0.33.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.7",
"prettier-plugin-packagejson": "^2.4.3",
"prettier-plugin-sh": "^0.12.8",
"reflect-metadata": "^0.1.13",
"shellcheck": "^2.2.0",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"sponsorkit": "^0.8.3",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"ts-patch": "^2.1.0",
"tsconfig-paths": "^4.2.0",
"typedi": "^0.10.0",
"typescript": "^4.9.5",
"typescript-transform-paths": "^3.4.6",
"typescript-transformer-esm": "^1.0.0",
"yargs": "^17.7.1"
},
"peerDependencies": {
"class-validator": ">=0.14.0",
"graphql": "^16.6.0"
},
"engines": {
"node": ">= 14.5.0"
}
}