forked from ardatan/graphql-mesh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.61 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
{
"name": "graphql-mesh-monorepo",
"license": "MIT",
"version": "0.2.15",
"private": true,
"scripts": {
"postinstall": "patch-package && husky install",
"predeploy:website": "yarn generate-config-schema && yarn build:api-docs",
"deploy:website": "cd website && yarn deploy",
"generate-config-schema": "graphql-to-config-schema --schema ./**/yaml-config.graphql --json ./packages/types/src/config-schema.json --typings ./packages/types/src/config.ts --markdown ./website/docs/generated-markdown/ && prettier --write ./packages/types/src && ts-node --compiler-options='{\"module\":\"commonjs\"}' scripts/escape-generated-markdown",
"prebuild": "yarn generate-config-schema",
"transpile-ts": "tsc --project tsconfig.build.json",
"build": "yarn transpile-ts && bob build",
"build:api-docs": "ts-node --compiler-options='{\"module\":\"commonjs\"}' scripts/build-api-docs",
"copy-config-schema": "cp ./packages/types/src/config-schema.json ./packages/types/dist/",
"fix-bin": "node scripts/fix-bin.js",
"postbuild": "yarn copy-config-schema && yarn fix-bin",
"lint": "eslint --ext .ts \"./packages/**/src/*.ts\"",
"prettier": "prettier --ignore-path .gitignore --write --list-different \"**/*.{ts,tsx,graphql,yml}\"",
"prettier:check": "prettier --ignore-path .gitignore --check \"**/*.{ts,tsx,graphql,yml}\"",
"build-test-artifacts": "cd examples/json-schema-example && yarn build",
"test": "cross-env \"JEST=1\" jest --forceExit --no-watchman",
"test-and-build": "yarn build && yarn test",
"prerelease": "yarn build",
"release": "changeset publish",
"release:canary": "(node scripts/canary-release.js && yarn build && yarn changeset publish --tag $NPM_TAG) || echo Skipping Canary..."
},
"devDependencies": {
"@ardatan/graphql-to-config-schema": "0.1.25",
"@babel/core": "7.17.8",
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/preset-env": "7.16.11",
"@babel/preset-typescript": "7.16.7",
"@changesets/cli": "2.21.1",
"@parcel/packager-raw-url": "2.4.0",
"@parcel/transformer-webmanifest": "2.4.0",
"@types/jest": "27.4.1",
"@types/node": "16.11.26",
"@typescript-eslint/eslint-plugin": "5.16.0",
"@typescript-eslint/parser": "5.16.0",
"babel-jest": "27.5.1",
"bob-the-bundler": "1.6.1",
"eslint": "8.12.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-standard": "16.0.3",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-standard": "4.1.0",
"globby": "11.1.0",
"graphql": "16.3.0",
"husky": "7.0.4",
"jest": "27.5.1",
"lint-staged": "12.3.7",
"patch-package": "6.4.7",
"prettier": "2.6.1",
"ts-jest": "27.1.4",
"typedoc": "0.22.13",
"typedoc-plugin-markdown": "3.11.14",
"typedoc-plugin-rename-defaults": "0.4.0",
"typescript": "4.6.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"packages/**/src/**/*.{ts,tsx}": [
"eslint --fix"
],
"**/*.{ts,tsx,graphql,yml,json}": [
"prettier --write"
]
},
"workspaces": {
"packages": [
"./packages/*",
"./packages/cache/*",
"./packages/handlers/*",
"./packages/transforms/*",
"./packages/mergers/*",
"./examples/*",
"./examples/federation-example/*",
"./examples/graphql-file-upload-example/frontend",
"./website",
"./packages/loaders/*"
]
},
"resolutions": {
"babel-jest": "27.5.1",
"jest-runner": "27.5.1",
"graphql": "16.3.0",
"@changesets/apply-release-plan": "5.0.5"
}
}