forked from ardatan/graphql-mesh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 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
{
"name": "graphql-mesh-monorepo",
"version": "0.2.15",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"website",
"packages/*",
"packages/cache/*",
"packages/handlers/*",
"packages/transforms/*",
"packages/mergers/*",
"packages/plugins/*",
"examples/*",
"examples/federation-example/*",
"examples/graphql-file-upload-example/frontend",
"packages/loaders/*",
"examples/hive-example/gateway",
"examples/hive-example/sources/*"
]
},
"packageManager": "[email protected]",
"scripts": {
"build": "bob build",
"build-test-artifacts": "yarn workspace json-schema-example build && yarn workspace example-fastify build",
"build:website": "cd website && yarn build",
"ci:lint": "eslint --output-file eslint_report.json --ext .ts --format json \"./packages/**/src/**/*.ts\"",
"clean": "rm -rf packages/**/dist packages/**/**/dist examples/**/node_modules/.bin/*mesh* .bob",
"copy-config-schema": "cp ./packages/types/src/config-schema.json ./packages/types/dist/esm && cp ./packages/types/src/config-schema.json ./packages/types/dist/cjs",
"fix-bin": "node scripts/fix-bin.js",
"generate-config-schema": "yarn graphql-to-config-schema --schema ./**/yaml-config.graphql --json ./packages/types/src/config-schema.json --typings ./packages/types/src/config.ts --markdown ./website/src/generated-markdown",
"lint": "eslint --ext .ts \"./packages/**/src/**/*.ts\"",
"postbuild": "yarn copy-config-schema && yarn fix-bin",
"postgenerate-config-schema": "node scripts/create-config-schema-ts.js && npx prettier --write ./packages/types/src",
"postinstall": "patch-package && husky install",
"prebuild": "yarn clean && yarn generate-config-schema",
"prebuild:website": "yarn build",
"prerelease": "yarn build",
"pretest:integration": "yarn workspace example-fastify build",
"prettier": "prettier --write --list-different .",
"prettier:check": "prettier --check .",
"release": "changeset publish",
"test": "cross-env \"JEST=1\" jest --detectOpenHandles --no-watchman",
"test:integration": "cross-env \"JEST=1\" \"INTEGRATION_TEST=true\" jest --forceExit --no-watchman",
"test:integration:leak": "cross-env \"JEST=1\" \"LEAK_TEST=1\" \"INTEGRATION_TEST=true\" jest --detectOpenHandles --detectLeaks --no-watchman --runInBand",
"test:leak": "cross-env \"JEST=1\" \"LEAK_TEST=1\" jest --detectOpenHandles --detectLeaks --no-watchman --runInBand"
},
"devDependencies": {
"@ardatan/graphql-to-config-schema": "0.1.25",
"@babel/core": "7.23.6",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.23.6",
"@babel/preset-typescript": "7.23.3",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.1",
"@theguild/prettier-config": "2.0.2",
"@types/jest": "29.5.11",
"@types/node": "20.10.4",
"@typescript-eslint/eslint-plugin": "6.14.0",
"@typescript-eslint/parser": "6.14.0",
"babel-jest": "29.7.0",
"bob-the-bundler": "7.0.1",
"eslint": "8.55.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "16.4.0",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-standard": "4.1.0",
"globby": "11.1.0",
"graphql": "16.8.1",
"husky": "8.0.3",
"jest": "29.7.0",
"lint-staged": "15.2.0",
"patch-package": "8.0.0",
"prettier": "3.1.1",
"ts-jest": "29.1.1",
"typescript": "5.3.3"
},
"resolutions": {
"@changesets/assemble-release-plan": "5.2.3",
"esbuild": "0.19.9",
"graphql": "16.8.1",
"tslib": "2.6.2",
"undici": "5.28.2",
"uuid": "7.0.3"
},
"lint-staged": {
"packages/**/src/**/*.{ts,tsx}": [
"eslint --fix"
],
"**/*.{ts,tsx,graphql,yml,json,md,js,mdx}": [
"prettier --write"
]
}
}