1 | {
|
2 | "name": "warthog",
|
3 | "version": "2.19.0",
|
4 | "description": "Opinionated set of tools for setting up GraphQL backed by TypeORM",
|
5 | "main": "dist/index.js",
|
6 | "types": "dist/types/index.d.ts",
|
7 | "bin": {
|
8 | "warthog": "bin/warthog"
|
9 | },
|
10 | "files": [
|
11 | "dist",
|
12 | "bin",
|
13 | "LICENSE",
|
14 | "README.md"
|
15 | ],
|
16 | "author": {
|
17 | "name": "Dan Caddigan",
|
18 | "url": "https://github.com/goldcaddy77"
|
19 | },
|
20 | "scripts": {
|
21 | "build": "rm -rf ./dist && yarn tsc && copyfiles -u 1 src/cli/**/*.ejs dist/",
|
22 | "bootstrap": "./tools/bootstrap-all.sh",
|
23 | "check:code": "tsc --noEmit && yarn lint && yarn prettify",
|
24 | "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",
|
25 | "deploy:debug": "npm_config_loglevel=verbose CIRCLE_BRANCH=beta CIRCLECI=true CI=true yarn semantic-release --debug",
|
26 | "lint": "eslint './+(examples|src|test|tools)/**/*.{js,ts}' --fix",
|
27 | "//prettier": "Note: ignores node_modules by default and 'generated' folder via .prettierignore",
|
28 | "prettify": "yarn prettier './+(examples|src|test|tools)/**/*.ts' --write",
|
29 | "semantic-release": "semantic-release",
|
30 | "test": "./tools/test.sh",
|
31 | "test:prod": "NODE_ENV=production ./tools/test.sh",
|
32 | "test:watch": "./tools/test.sh --watch"
|
33 | },
|
34 | "husky": {
|
35 | "hooks": {
|
36 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
37 | "pre-commit": "lint-staged && tsc && yarn test"
|
38 | }
|
39 | },
|
40 | "repository": {
|
41 | "type": "git",
|
42 | "url": "https://github.com/goldcaddy77/warthog.git"
|
43 | },
|
44 | "keywords": [
|
45 | "graphql",
|
46 | "typeorm",
|
47 | "typescript"
|
48 | ],
|
49 | "license": "MIT",
|
50 | "bugs": {
|
51 | "url": "https://github.com/goldcaddy77/warthog/issues"
|
52 | },
|
53 | "homepage": "https://github.com/goldcaddy77/warthog#readme",
|
54 | "//": "TODO: figure out which of these are dependencies, devDeps or peerDeps",
|
55 | "dependencies": {
|
56 | "@types/app-root-path": "^1.2.4",
|
57 | "@types/caller": "^1.0.0",
|
58 | "@types/cosmiconfig": "^6.0.0",
|
59 | "@types/debug": "^4.1.5",
|
60 | "@types/dotenv": "^8.2.0",
|
61 | "@types/express": "^4.17.2",
|
62 | "@types/graphql": "^14.5.0",
|
63 | "@types/graphql-fields": "^1.3.2",
|
64 | "@types/graphql-iso-date": "^3.3.3",
|
65 | "@types/graphql-type-json": "^0.3.2",
|
66 | "@types/isomorphic-fetch": "^0.0.35",
|
67 | "@types/lodash": "^4.14.148",
|
68 | "@types/mkdirp": "^0.5.2",
|
69 | "@types/node": "^12.12.8",
|
70 | "@types/node-emoji": "^1.8.1",
|
71 | "@types/open": "^6.2.1",
|
72 | "@types/pg": "^7.11.2",
|
73 | "@types/prettier": "^1.18.3",
|
74 | "@types/shortid": "^0.0.29",
|
75 | "@types/ws": "^6.0.3",
|
76 | "apollo-link-error": "^1.1.12",
|
77 | "apollo-link-http": "^1.5.16",
|
78 | "apollo-server": "^2.9.9",
|
79 | "apollo-server-express": "^2.9.9",
|
80 | "app-root-path": "^3.0.0",
|
81 | "caller": "^1.0.1",
|
82 | "class-transformer": "^0.2.3",
|
83 | "class-validator": "^0.11.0",
|
84 | "cosmiconfig": "^6.0.0",
|
85 | "cross-fetch": "^3.0.4",
|
86 | "dataloader": "^1.4.0",
|
87 | "debug": "^4.1.1",
|
88 | "execa": "^4.0.3",
|
89 | "express": "^4.17.1",
|
90 | "gluegun": "^4.1.0",
|
91 | "graphql": "^14.5.8",
|
92 | "graphql-binding": "^2.5.2",
|
93 | "graphql-fields": "^2.0.3",
|
94 | "graphql-import-node": "^0.0.4",
|
95 | "graphql-iso-date": "^3.6.1",
|
96 | "graphql-scalars": "^1.2.6",
|
97 | "graphql-tools": "^4.0.6",
|
98 | "graphql-type-json": "^0.3.0",
|
99 | "lodash": "^4.17.15",
|
100 | "mkdirp": "^0.5.1",
|
101 | "node-emoji": "^1.10.0",
|
102 | "open": "^7.0.0",
|
103 | "pg": "^7.12.1",
|
104 | "pgtools": "^0.3.0",
|
105 | "prettier": "^1.19.1",
|
106 | "reflect-metadata": "^0.1.13",
|
107 | "shortid": "^2.2.15",
|
108 | "type-graphql": "^0.17.5",
|
109 | "typedi": "^0.8.0",
|
110 | "typeorm": "^0.2.25",
|
111 | "typeorm-typedi-extensions": "^0.2.3",
|
112 | "typescript": "^3.9.7"
|
113 | },
|
114 | "devDependencies": {
|
115 | "@commitlint/cli": "^8.3.5",
|
116 | "@commitlint/config-conventional": "^8.3.4",
|
117 | "@types/execa": "^2.0.0",
|
118 | "@types/faker": "^4.1.12",
|
119 | "@types/jest": "^24.0.23",
|
120 | "@types/supertest": "^2.0.8",
|
121 | "@typescript-eslint/eslint-plugin": "^2.7.0",
|
122 | "@typescript-eslint/parser": "^2.7.0",
|
123 | "copyfiles": "^2.3.0",
|
124 | "dotenv": "^8.2.0",
|
125 | "eslint": "^6.6.0",
|
126 | "eslint-config-prettier": "^6.5.0",
|
127 | "eslint-plugin-prettier": "^3.1.1",
|
128 | "faker": "^5.1.0",
|
129 | "husky": "^3.0.9",
|
130 | "jest": "^24.9.0",
|
131 | "lint-staged": "^9.4.3",
|
132 | "markdownlint-cli": "^0.19.0",
|
133 | "semantic-release": "^16.0.0-beta.31",
|
134 | "supertest": "^4.0.2",
|
135 | "ts-jest": "^24.1.0",
|
136 | "ts-node": "^8.10.2",
|
137 | "ts-node-dev": "^1.0.0-pre.60"
|
138 | },
|
139 | "lint-staged": {
|
140 | "*.ts": [
|
141 | "eslint --fix",
|
142 | "prettier --write",
|
143 | "git add"
|
144 | ],
|
145 | "*.{js,json}": [
|
146 | "prettier --write",
|
147 | "git add"
|
148 | ],
|
149 | "*.md": [
|
150 | "markdownlint"
|
151 | ]
|
152 | },
|
153 | "prettier": {
|
154 | "printWidth": 100,
|
155 | "singleQuote": true
|
156 | },
|
157 | "jest": {
|
158 | "setupFiles": [
|
159 | "./src/test/setupFiles.ts"
|
160 | ],
|
161 | "setupFilesAfterEnv": [
|
162 | "./src/test/setupFilesAfterEnv.ts"
|
163 | ],
|
164 | "transform": {
|
165 | ".ts": "ts-jest"
|
166 | },
|
167 | "testRegex": "\\.test\\.ts$",
|
168 | "moduleFileExtensions": [
|
169 | "ts",
|
170 | "js"
|
171 | ],
|
172 | "modulePathIgnorePatterns": [
|
173 | "/examples/"
|
174 | ],
|
175 | "watchPathIgnorePatterns": [
|
176 | "tmp/",
|
177 | "/generated/*"
|
178 | ],
|
179 | "collectCoverageFrom": [
|
180 | "src/**/*.ts"
|
181 | ],
|
182 | "coveragePathIgnorePatterns": [
|
183 | "/node_modules/",
|
184 | "src/test/*",
|
185 | "\\.test\\.ts$"
|
186 | ],
|
187 | "globals": {
|
188 | "ts-jest": {
|
189 | "tsConfig": "tsconfig.test.json"
|
190 | }
|
191 | }
|
192 | },
|
193 | "resolutions": {
|
194 | "//": "Fixes security vulnerability",
|
195 | "set-value": "2.0.1"
|
196 | },
|
197 | "release": {
|
198 | "branches": [
|
199 | "main"
|
200 | ]
|
201 | }
|
202 | }
|