-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
202 lines (202 loc) · 5.49 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
196
197
198
199
200
201
202
{
"name": "warthog",
"version": "0.0.0-development",
"description": "Opinionated set of tools for setting up GraphQL backed by TypeORM",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
"bin": {
"warthog": "bin/warthog"
},
"files": [
"dist",
"bin",
"LICENSE",
"README.md"
],
"author": {
"name": "Dan Caddigan",
"url": "https://github.com/goldcaddy77"
},
"scripts": {
"build": "rm -rf ./dist && yarn tsc && copyfiles -u 1 src/cli/**/*.ejs dist/",
"bootstrap": "./tools/bootstrap-all.sh",
"check:code": "tsc --noEmit && yarn lint && yarn prettify",
"circle:build": "rm ./tmp/circle.build.yml 2> /dev/null && circleci config process .circleci/config.yml > ./tmp/circle.build.yml && circleci local execute -c ./tmp/circle.build.yml --job build",
"deploy:debug": "npm_config_loglevel=verbose CIRCLE_BRANCH=beta CIRCLECI=true CI=true yarn semantic-release --debug",
"lint": "eslint './+(examples|src|test|tools)/**/*.{js,ts}' --fix",
"//prettier": "Note: ignores node_modules by default and 'generated' folder via .prettierignore",
"prettify": "yarn prettier './+(examples|src|test|tools)/**/*.ts' --write",
"semantic-release": "semantic-release",
"test": "./tools/test.sh",
"test:prod": "NODE_ENV=production ./tools/test.sh",
"test:watch": "./tools/test.sh --watch"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged && tsc && yarn test"
}
},
"repository": {
"type": "git",
"url": "https://github.com/goldcaddy77/warthog.git"
},
"keywords": [
"graphql",
"typeorm",
"typescript"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/goldcaddy77/warthog/issues"
},
"homepage": "https://github.com/goldcaddy77/warthog#readme",
"//": "TODO: figure out which of these are dependencies, devDeps or peerDeps",
"dependencies": {
"@types/app-root-path": "^1.2.4",
"@types/caller": "^1.0.0",
"@types/cosmiconfig": "^6.0.0",
"@types/debug": "^4.1.5",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.2",
"@types/graphql": "^14.5.0",
"@types/graphql-fields": "^1.3.2",
"@types/graphql-iso-date": "^3.3.3",
"@types/graphql-type-json": "^0.3.2",
"@types/isomorphic-fetch": "^0.0.35",
"@types/lodash": "^4.14.148",
"@types/mkdirp": "^0.5.2",
"@types/node": "^12.12.8",
"@types/node-emoji": "^1.8.1",
"@types/open": "^6.2.1",
"@types/pg": "^7.14.11",
"@types/prettier": "^1.18.3",
"@types/shortid": "^0.0.29",
"@types/ws": "^6.0.3",
"apollo-link-error": "^1.1.12",
"apollo-link-http": "^1.5.16",
"apollo-server": "^2.9.9",
"apollo-server-express": "^2.9.9",
"app-root-path": "^3.0.0",
"caller": "^1.0.1",
"class-transformer": "^0.2.3",
"class-validator": "^0.11.0",
"cosmiconfig": "^6.0.0",
"cross-fetch": "^3.0.4",
"dataloader": "^1.4.0",
"debug": "^4.1.1",
"execa": "^4.0.3",
"express": "^4.17.1",
"gluegun": "^4.1.0",
"graphql": "^14.5.8",
"graphql-binding": "^2.5.2",
"graphql-fields": "^2.0.3",
"graphql-import-node": "^0.0.4",
"graphql-iso-date": "^3.6.1",
"graphql-scalars": "^1.2.6",
"graphql-tools": "^4.0.6",
"graphql-type-json": "^0.3.0",
"lodash": "^4.17.15",
"mkdirp": "^0.5.1",
"node-emoji": "^1.10.0",
"open": "^7.0.0",
"pg": "^8.6.0",
"pgtools": "^0.3.1",
"prettier": "^1.19.1",
"reflect-metadata": "^0.1.13",
"shortid": "^2.2.15",
"type-graphql": "^0.17.5",
"typedi": "^0.8.0",
"typeorm": "^0.2.32",
"typeorm-typedi-extensions": "^0.4.1",
"typescript": "^3.9.7"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/execa": "^2.0.0",
"@types/faker": "^4.1.12",
"@types/jest": "^24.0.23",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"copyfiles": "^2.3.0",
"dotenv": "^8.2.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"faker": "^5.1.0",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.3",
"markdownlint-cli": "^0.19.0",
"semantic-release": "^16.0.0-beta.31",
"supertest": "^4.0.2",
"ts-jest": "^24.1.0",
"ts-node": "^8.10.2",
"ts-node-dev": "^1.0.0-pre.60"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{js,json}": [
"prettier --write",
"git add"
],
"*.md": [
"markdownlint"
]
},
"prettier": {
"printWidth": 100,
"singleQuote": true
},
"jest": {
"setupFiles": [
"./src/test/setupFiles.ts"
],
"setupFilesAfterEnv": [
"./src/test/setupFilesAfterEnv.ts"
],
"transform": {
".ts": "ts-jest"
},
"testRegex": "\\.test\\.ts$",
"moduleFileExtensions": [
"ts",
"js"
],
"modulePathIgnorePatterns": [
"/examples/"
],
"watchPathIgnorePatterns": [
"tmp/",
"/generated/*"
],
"collectCoverageFrom": [
"src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"src/test/*",
"\\.test\\.ts$"
],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.test.json"
}
}
},
"resolutions": {
"//": "Fixes security vulnerability",
"set-value": "2.0.1"
},
"release": {
"branches": [
"main"
]
}
}