-
Notifications
You must be signed in to change notification settings - Fork 157
/
package.json
81 lines (81 loc) · 2.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
{
"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/*"
],
"packageManager": "[email protected]",
"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.26.0",
"@babel/preset-env": "7.26.0",
"@babel/preset-typescript": "7.26.0",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.10",
"@theguild/prettier-config": "2.0.7",
"@types/jest": "28.1.8",
"@types/node": "20.17.9",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"babel-jest": "28.1.3",
"bob-the-bundler": "7.0.1",
"eslint": "8.57.1",
"eslint-plugin-import": "2.31.0",
"graphql": "16.9.0",
"husky": "9.1.7",
"jest": "28.1.3",
"jest-docblock": "28.1.1",
"jest-junit": "16.0.0",
"lint-staged": "15.2.10",
"patch-package": "8.0.0",
"prettier": "3.4.1",
"rimraf": "6.0.1",
"ts-jest": "28.0.8",
"ts-node": "10.9.2",
"tslib": "2.6.3",
"typescript": "4.9.5"
},
"resolutions": {
"babel-jest": "28.1.3",
"graphql": "16.9.0",
"graphql-language-service-interface": "2.10.2",
"jest-runner": "28.1.3",
"ts-node": "10.9.2"
},
"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"
]
}
}