forked from ardatan/graphql-mesh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3.72 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
{
"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/*"
]
},
"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 --detectLeaks --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"
},
"devDependencies": {
"@ardatan/graphql-to-config-schema": "0.1.25",
"@babel/core": "7.22.11",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.22.10",
"@babel/preset-typescript": "7.22.11",
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.2",
"@theguild/prettier-config": "2.0.1",
"@types/jest": "29.5.4",
"@types/node": "18.17.11",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "6.4.1",
"babel-jest": "29.6.4",
"bob-the-bundler": "7.0.1",
"eslint": "8.47.0",
"eslint-config-prettier": "9.0.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-n": "16.0.2",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-standard": "4.1.0",
"globby": "11.1.0",
"graphql": "16.8.0",
"husky": "8.0.3",
"jest": "29.6.4",
"lint-staged": "14.0.1",
"patch-package": "8.0.0",
"prettier": "3.0.2",
"ts-jest": "29.1.1",
"typescript": "5.1.6"
},
"resolutions": {
"@changesets/assemble-release-plan": "5.2.3",
"esbuild": "0.19.2",
"graphql": "16.8.0",
"tslib": "2.6.2",
"undici": "5.23.0",
"uuid": "7.0.3"
},
"lint-staged": {
"packages/**/src/**/*.{ts,tsx}": [
"eslint --fix"
],
"**/*.{ts,tsx,graphql,yml,json,md,js,mdx}": [
"prettier --write"
]
}
}