forked from kamilkisiela/graphql-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 3.86 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
{
"name": "graphql-config",
"version": "5.1.1",
"description": "The easiest way to configure your development environment with your GraphQL schema (supported by most tools, editors & IDEs)",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"packageManager": "[email protected]",
"exports": {
".": {
"require": {
"types": "./dist/typings/index.d.cts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/typings/index.d.ts",
"default": "./dist/esm/index.js"
},
"default": {
"types": "./dist/typings/index.d.ts",
"default": "./dist/esm/index.js"
}
},
"./package.json": "./package.json"
},
"typings": "dist/typings/index.d.ts",
"typescript": {
"definition": "dist/typings/index.d.ts"
},
"publishConfig": {
"directory": "dist",
"access": "public"
},
"type": "module",
"scripts": {
"prepublishOnly": "pnpm run build",
"clean": "rimraf dist",
"prebuild": "pnpm run clean && pnpm run json-schema",
"postbuild": "tsx scripts/postbuild.ts",
"build": "bob build",
"prettier": "prettier --cache --write --list-different .",
"prettier:check": "prettier --cache --check .",
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore .",
"ci:lint": "ESLINT_USE_FLAT_CONFIG=false eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore . --output-file eslint_report.json --format json",
"test": "vitest .",
"prerelease": "pnpm run build",
"release": "changeset publish",
"json-schema": "typescript-json-schema src/types.ts IGraphQLConfig --out config-schema.json --ignoreErrors --required --titles && prettier --write config-schema.json"
},
"peerDependencies": {
"cosmiconfig-toml-loader": "^1.0.0",
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
},
"peerDependenciesMeta": {
"cosmiconfig-toml-loader": {
"optional": true
}
},
"dependencies": {
"@graphql-tools/graphql-file-loader": "^8.0.0",
"@graphql-tools/json-file-loader": "^8.0.0",
"@graphql-tools/load": "^8.0.0",
"@graphql-tools/merge": "^9.0.0",
"@graphql-tools/url-loader": "^8.0.0",
"@graphql-tools/utils": "^10.0.0",
"cosmiconfig": "^9.0.0",
"jiti": "^1.18.2",
"minimatch": "^10.0.0",
"string-env-interpolation": "^1.0.1",
"tslib": "^2.4.0"
},
"devDependencies": {
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.7",
"@types/node": "20.14.14",
"@typescript-eslint/eslint-plugin": "8.1.0",
"@typescript-eslint/parser": "8.1.0",
"bob-the-bundler": "7.0.1",
"cosmiconfig-toml-loader": "1.0.0",
"del": "7.1.0",
"eslint": "9.8.0",
"eslint-config-prettier": "9.1.0",
"graphql": "16.9.0",
"husky": "9.1.4",
"lint-staged": "15.2.8",
"make-dir": "5.0.0",
"parent-module": "3.1.0",
"prettier": "3.3.3",
"rimraf": "6.0.1",
"ts-node": "10.9.2",
"tsx": "4.16.5",
"typescript": "5.5.4",
"typescript-json-schema": "0.64.0",
"vitest": "2.0.5",
"vite-tsconfig-paths": "^4.3.2"
},
"repository": {
"type": "git",
"url": "https://github.com/kamilkisiela/graphql-config.git"
},
"homepage": "https://graphql-config.com",
"keywords": [
"graphql",
"config",
"relay",
"apollo"
],
"author": {
"email": "[email protected]",
"name": "Kamil Kisiela",
"url": "https://github.com/kamilkisiela"
},
"license": "MIT",
"bob": {
"build": {
"copy": [
"config-schema.json"
]
}
},
"lint-staged": {
"{src,test}/**/*": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"engines": {
"node": ">= 16.0.0",
"pnpm": "^8.6.5"
}
}