-
Notifications
You must be signed in to change notification settings - Fork 327
/
package.json
76 lines (76 loc) · 2.65 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
{
"name": "graphql-mesh",
"license": "MIT",
"version": "0.2.10",
"private": true,
"scripts": {
"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/",
"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",
"postbuild": "yarn copy-config-schema && yarn copy-playground-html && 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}\"",
"introspect-config": "node scripts/introspect-config.js",
"test": "jest --no-watchman",
"test-and-build": "yarn build && yarn test",
"release": "node scripts/release.js",
"release:canary": "node scripts/release.js --canary"
},
"devDependencies": {
"@graphql-tools/schema": "6.0.10",
"@types/jest": "26.0.0",
"@types/node": "13.13.12",
"jest": "26.0.1",
"ts-jest": "26.1.0",
"ts-node-dev": "1.0.0-pre.44",
"typescript": "3.9.5",
"@typescript-eslint/eslint-plugin": "3.2.0",
"@typescript-eslint/parser": "3.2.0",
"bob-the-bundler": "1.0.2",
"eslint": "7.2.0",
"eslint-config-prettier": "6.11.0",
"eslint-config-standard": "14.1.1",
"eslint-plugin-import": "2.21.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"fs-extra": "9.0.1",
"graphql": "15.1.0",
"graphql-to-config-schema": "0.0.16",
"lint-staged": "10.2.9",
"globby": "11.0.1",
"husky": "4.2.5",
"prettier": "2.0.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn introspect-config && git add schema.graphql"
}
},
"lint-staged": {
"packages/**/src/**/*.{ts,tsx}": [
"eslint --fix"
],
"**/*.{ts,tsx,graphql,yml}": [
"prettier --write"
]
},
"workspaces": [
"./packages/*",
"./packages/cache/*",
"./packages/handlers/*",
"./packages/transforms/*",
"./packages/mergers/*",
"./examples/*",
"./website"
],
"resolutions": {
"graphql": "15.1.0"
}
}