forked from ardatan/graphql-mesh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.92 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 2.92 KB
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
{
"name": "graphql-mesh",
"license": "MIT",
"version": "0.2.15",
"private": true,
"scripts": {
"postinstall": "patch-package",
"predeploy:website": "yarn generate-config-schema",
"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",
"prebuild": "yarn generate-config-schema",
"build": "tsc --project tsconfig.build.json && bob build",
"copy-config-schema": "cp ./packages/types/src/config-schema.json ./packages/types/dist/",
"fix-bin": "node scripts/fix-bin.js",
"copy-playground-html": "cp ./packages/cli/src/commands/serve/playground.html ./packages/cli/dist",
"copy-fhir-schema": "cp ./packages/handlers/fhir/src/fhir.schema.json ./packages/handlers/fhir/dist",
"postbuild": "yarn copy-config-schema && yarn copy-playground-html && yarn copy-fhir-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}\"",
"test": "jest --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 alpha) || echo Skipping Canary..."
},
"devDependencies": {
"@changesets/cli": "2.9.2",
"@graphql-tools/schema": "6.2.2",
"@types/jest": "26.0.14",
"@types/node": "14.14.3",
"@typescript-eslint/eslint-plugin": "4.4.1",
"@typescript-eslint/parser": "4.6.0",
"bob-the-bundler": "1.1.0",
"eslint": "7.12.0",
"eslint-config-prettier": "6.14.0",
"eslint-config-standard": "15.0.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.2",
"fs-extra": "9.0.1",
"globby": "11.0.1",
"graphql": "15.4.0",
"@ardatan/graphql-to-config-schema": "0.1.7",
"husky": "4.3.0",
"jest": "26.6.3",
"lint-staged": "10.5.2",
"patch-package": "^6.2.2",
"prettier": "2.1.2",
"ts-jest": "26.4.1",
"ts-node-dev": "1.0.0",
"typescript": "4.0.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"packages/**/src/**/*.{ts,tsx}": [
"eslint --fix"
],
"**/*.{ts,tsx,graphql,yml,json}": [
"prettier --write"
]
},
"workspaces": [
"./packages/*",
"./packages/cache/*",
"./packages/handlers/*",
"./packages/transforms/*",
"./packages/mergers/*",
"./examples/*",
"./website"
],
"resolutions": {
"graphql": "15.4.0"
}
}