-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
package.json
99 lines (99 loc) · 3.9 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
97
98
99
{
"name": "graphql-code-generator",
"private": true,
"engines": {
"node": ">= 16.0.0"
},
"packageManager": "[email protected]",
"scripts": {
"postinstall": "patch-package && husky install",
"fix-bins": "node scripts/fix-bin.js",
"clean": "rimraf node_modules/",
"prebuild": "rimraf dist/ .bob/ tsconfig.tsbuildinfo",
"build": "bob build",
"postbuild": "yarn fix-bins",
"watch-build": "npx tsc-watch --project tsconfig.json --onSuccess \"bob build\"",
"rebuild": "bob build --incremental",
"test": "jest --forceExit --no-watchman",
"lint": "cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --cache --ignore-path .gitignore .",
"prettier": "prettier --cache --write --list-different .",
"prettier:check": "prettier --cache --check .",
"types:check": "tsc --noEmit",
"test-and-build": "yarn build && yarn test",
"ci:lint": "cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --cache --ignore-path .gitignore --output-file eslint_report.json --format json .",
"prerelease": "yarn build",
"release": "changeset publish",
"generate:examples:esm": "node packages/graphql-codegen-cli/dist/esm/bin.js --require dotenv/config --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env",
"generate:examples:cjs": "node packages/graphql-codegen-cli/dist/cjs/bin.js --require dotenv/config --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env",
"generate:examples": "yarn generate:examples:cjs",
"watch:examples:esm": "node packages/graphql-codegen-cli/dist/esm/bin.js --require dotenv/config --watch --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env",
"watch:examples:cjs": "node packages/graphql-codegen-cli/dist/cjs/bin.js --require dotenv/config --watch --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env",
"watch:examples": "yarn watch:examples:cjs",
"examples:codegen": "set -o xtrace && eval $(node scripts/print-example-ci-command.js codegen)",
"examples:build": "set -o xtrace && eval $(node scripts/print-example-ci-command.js build)",
"examples:test:end2end": "set -o xtrace && eval $(node scripts/print-example-ci-command.js test:end2end)"
},
"workspaces": [
"packages/*",
"packages/utils/*",
"packages/plugins/typescript/*",
"packages/plugins/other/*",
"packages/presets/*",
"website",
"examples/**/*"
],
"devDependencies": {
"@babel/core": "7.25.2",
"@babel/preset-env": "7.25.3",
"@babel/preset-typescript": "7.24.7",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.7",
"@theguild/eslint-config": "0.13.0",
"@theguild/prettier-config": "0.1.1",
"@types/jest": "28.1.8",
"babel-jest": "29.7.0",
"bob-the-bundler": "7.0.1",
"cross-env": "7.0.3",
"eslint": "9.9.0",
"graphql": "16.9.0",
"husky": "8.0.3",
"jest": "28.1.3",
"jest-docblock": "29.7.0",
"jest-junit": "16.0.0",
"lint-staged": "15.2.9",
"patch-package": "8.0.0",
"prettier": "2.8.8",
"prettier-plugin-svelte": "2.10.1",
"rimraf": "6.0.1",
"ts-jest": "28.0.8",
"ts-node": "10.9.2",
"tslib": "2.6.3",
"tsx": "4.17.0",
"typescript": "5.5.4",
"eslint-plugin-tailwindcss": "npm:@hasparus/[email protected]"
},
"lint-staged": {
"packages/**/src/**/*.{ts,tsx}": [
"cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --fix"
],
"**/*.{js,jsx,cjs,mjs,ts,tsx,graphql,gql,yml,yaml,json,md}": [
"prettier --write"
],
"yarn.lock": [
"npx yarn-deduplicate"
]
},
"resolutions": {
"prettier": "2.8.8",
"babel-jest": "29.7.0",
"jest-runner": "28.1.3",
"graphql": "16.9.0",
"graphql-language-service-interface": "2.10.2",
"**/apollo-language-server/graphql": "^16.0.0",
"**/@types/graphql-upload/graphql": "^16.0.0",
"ts-node": "10.9.2",
"typescript": "5.5.4",
"cosmiconfig": "8.3.6",
"eslint-plugin-promise": "7.1.0"
}
}