forked from dotansimha/graphql-code-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.63 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
{
"name": "graphql-code-generator",
"private": true,
"engines": {
"node": ">= 16.0.0"
},
"packageManager": "yarn@1.22.19",
"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": "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": "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.22.8",
"@babel/preset-env": "7.22.7",
"@babel/preset-typescript": "7.22.5",
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.2",
"@theguild/eslint-config": "0.9.0",
"@theguild/prettier-config": "0.1.1",
"@types/jest": "28.1.8",
"babel-jest": "28.1.3",
"bob-the-bundler": "6.0.0",
"eslint": "8.40.0",
"graphql": "16.6.0",
"husky": "8.0.3",
"jest": "28.1.3",
"jest-docblock": "28.1.1",
"jest-junit": "16.0.0",
"lint-staged": "13.2.2",
"patch-package": "6.5.1",
"prettier": "2.8.8",
"prettier-plugin-svelte": "2.10.1",
"rimraf": "4.4.1",
"ts-jest": "28.0.8",
"ts-node": "10.9.1",
"tslib": "2.5.2",
"tsx": "3.12.7",
"typescript": "5.0.4"
},
"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"
]
},
"resolutions": {
"prettier": "2.8.8",
"babel-jest": "28.1.3",
"jest-runner": "28.1.3",
"graphql": "16.6.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.1",
"typescript": "5.0.4",
"cosmiconfig": "8.1.3"
}
}