-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.43 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
{
"name": "@frontside/hydraphql",
"description": "Tool that DRY and then Hydrate your GraphQL schema",
"version": "0.1.3",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"author": "Frontside Engineering <engineering@frontside.io>",
"license": "MIT",
"packageManager": "yarn@3.6.3",
"homepage": "https://frontside.com",
"repository": {
"type": "git",
"url": "https://github.com/thefrontside/HydraphQL"
},
"keywords": [
"graphql"
],
"exports": {
".": {
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
},
"./core.graphql": "./src/core/core.graphql"
},
"scripts": {
"build": "yarn build:cjs && yarn build:esm",
"build:cjs": "node --loader tsx ./type.ts commonjs && yarn tsc:cjs",
"build:esm": "node --loader tsx ./type.ts module && yarn tsc:esm",
"tsc:cjs": "tsc --build tsconfig.cjs.json",
"tsc:esm": "tsc --build tsconfig.esm.json",
"lint": "eslint --ext .ts,.tsx,.js,.jsx,.cts,.cjs,.mjs .",
"test": "node --loader tsx --test ./src/**/*.test.ts",
"prepack": "yarn build && yarn dlx pinst --disable",
"clean": "yarn clean:build && yarn clean:graphql",
"clean:build": "rm -fr ./dist ./tsconfig.build.tsbuildinfo",
"clean:graphql": "rm -fr ./__generated__ ./src/__generated__",
"check:types": "tsc --noEmit",
"generate:types": "graphql-codegen-esm",
"postpack": "yarn dlx pinst --enable",
"postinstall": "husky install"
},
"peerDependencies": {
"dataloader": "^2.0.0",
"graphql": "^16.0.0",
"graphql-modules": "^2.0.0"
},
"dependencies": {
"@graphql-tools/code-file-loader": "^8.0.0",
"@graphql-tools/graphql-file-loader": "^8.0.0",
"@graphql-tools/load": "^8.0.0",
"@graphql-tools/load-files": "^7.0.0",
"@graphql-tools/merge": "^9.0.0",
"@graphql-tools/schema": "^10.0.0",
"@graphql-tools/utils": "^10.0.0",
"graphql-relay": "^0.10.0",
"lodash": "^4.17.21",
"pascal-case": "^3.1.2",
"tslib": "^2.6.2"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@envelop/core": "^4.0.0",
"@envelop/dataloader": "^5.0.0",
"@envelop/graphql-modules": "^5.0.0",
"@faker-js/faker": "^7.2.0",
"@graphql-codegen/add": "^5.0.0",
"@graphql-codegen/cli": "^4.0.0",
"@graphql-codegen/graphql-modules-preset": "^4.0.0",
"@graphql-codegen/plugin-helpers": "^5.0.0",
"@graphql-codegen/schema-ast": "^4.0.0",
"@graphql-codegen/typescript": "^4.0.0",
"@graphql-codegen/typescript-resolvers": "^4.0.0",
"@types/lodash": "^4.14.197",
"@types/node": "^18.17.0",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"dataloader": "^2.1.0",
"eslint": "^8.48.0",
"expect": "^29.6.4",
"graphql": "^16.6.0",
"graphql-modules": "^2.3.0",
"husky": "^8.0.0",
"lint-staged": "^14.0.1",
"pinst": "^3.0.0",
"prettier": "^3.0.3",
"tsx": "^3.12.7",
"typescript": "^5.2.2"
},
"files": [
"src/core/core.graphql",
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"volta": {
"node": "20.5.1",
"yarn": "3.6.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs,cts}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"resolutions": {
"graphql-modules@^2.3.0": "patch:graphql-modules@npm%3A2.3.0#./.yarn/patches/graphql-modules-npm-2.3.0-ad0e8d9884.patch"
}
}