forked from mlesin/graphql-code-generator-community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.7 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
{
"name": "graphql-code-generator",
"private": true,
"workspaces": [
"packages/*",
"packages/plugins/flow/*",
"packages/plugins/java/*",
"packages/plugins/c-sharp/*",
"packages/plugins/dart/*",
"packages/plugins/typescript/*",
"packages/plugins/other/*",
"packages/presets/*"
],
"scripts": {
"build": "bob build",
"ci:lint": "eslint --ext .ts . --output-file eslint_report.json --format json",
"clean": "rimraf node_modules/",
"generate:examples": "yarn generate:examples:cjs",
"generate:examples:cjs": "graphql-codegen --require dotenv/config --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env",
"generate:examples:esm": "graphql-codegen-esm --require dotenv/config --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env",
"lint": "eslint --ext .ts .",
"postinstall": "patch-package && husky install",
"prebuild": "rimraf dist/ .bob/ tsconfig.tsbuildinfo",
"prerelease": "yarn build",
"prettier": "prettier --write --list-different .",
"prettier:check": "prettier --check .",
"release": "changeset publish",
"test": "jest --forceExit --no-watchman",
"test-and-build": "yarn build && yarn test",
"types:check": "tsc --noEmit",
"watch-build": "npx tsc-watch --project tsconfig.json --onSuccess \"bob build\""
},
"devDependencies": {
"@babel/core": "7.21.0",
"@babel/preset-env": "7.20.2",
"@babel/preset-typescript": "7.21.0",
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.0",
"@theguild/prettier-config": "1.1.2",
"@types/jest": "28.1.8",
"@types/node": "18.14.1",
"@typescript-eslint/eslint-plugin": "5.53.0",
"@typescript-eslint/parser": "5.53.0",
"babel-jest": "28.1.3",
"bob-the-bundler": "4.0.0",
"eslint": "8.35.0",
"eslint-plugin-import": "2.27.5",
"graphql": "16.6.0",
"husky": "8.0.3",
"jest": "28.1.3",
"jest-docblock": "28.1.1",
"jest-junit": "15.0.0",
"lint-staged": "13.2.1",
"patch-package": "6.5.1",
"prettier": "2.8.5",
"rimraf": "4.1.3",
"ts-jest": "28.0.8",
"ts-node": "10.9.1",
"tslib": "2.4.1",
"typescript": "4.9.5"
},
"resolutions": {
"**/@types/graphql-upload/graphql": "^16.0.0",
"**/apollo-language-server/graphql": "^16.0.0",
"babel-jest": "28.1.3",
"graphql": "16.6.0",
"graphql-language-service-interface": "2.10.2",
"jest-runner": "28.1.3",
"prettier": "2.8.5",
"ts-node": "10.9.1"
},
"lint-staged": {
"packages/**/src/**/*.{ts,tsx}": [
"eslint --fix"
],
"**/*.{js,jsx,cjs,mjs,ts,tsx,graphql,gql,yml,yaml,json,md}": [
"prettier --write"
],
"yarn.lock": [
"npx yarn-deduplicate"
]
}
}