forked from dotansimha/graphql-code-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.86 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 3.86 KB
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
100
101
{
"name": "graphql-code-generator",
"version": "0.0.0",
"private": true,
"workspaces": [
"packages/*",
"packages/utils/*",
"packages/plugins/typescript/*",
"packages/plugins/other/*",
"packages/presets/*",
"website",
"examples/**/*"
],
"packageManager": "[email protected]",
"engines": {
"node": ">= 16.0.0"
},
"scripts": {
"build": "bob build",
"ci:lint": "eslint --cache --output-file eslint_report.json --format json .",
"clean": "rimraf node_modules/",
"examples:build": "set -o xtrace && eval $(node scripts/print-example-ci-command.js build)",
"examples:codegen": "set -o xtrace && eval $(node scripts/print-example-ci-command.js codegen)",
"examples:test:end2end": "set -o xtrace && eval $(node scripts/print-example-ci-command.js test:end2end)",
"fix-bins": "node scripts/fix-bin.js",
"generate:examples": "yarn generate:examples:cjs",
"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:esm": "node packages/graphql-codegen-cli/dist/esm/bin.js --require dotenv/config --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env",
"lint": "eslint --cache .",
"postbuild": "yarn fix-bins",
"postinstall": "patch-package && husky install",
"prebuild": "rimraf dist/ .bob/ tsconfig.tsbuildinfo",
"prerelease": "yarn build",
"prettier": "prettier --cache --write --list-different .",
"prettier:check": "prettier --cache --check .",
"rebuild": "bob build --incremental",
"release": "changeset publish",
"test": "vitest",
"test-and-build": "yarn build && yarn test",
"types:check": "tsc --noEmit",
"watch-build": "npx tsc-watch --project tsconfig.json --onSuccess \"bob build\"",
"watch:examples": "yarn watch:examples:cjs",
"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: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"
},
"devDependencies": {
"@babel/core": "7.25.2",
"@babel/preset-env": "7.25.3",
"@babel/preset-typescript": "7.28.5",
"@changesets/changelog-github": "0.6.0",
"@changesets/cli": "2.30.0",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^10.0.1",
"@theguild/eslint-config": "0.13.4",
"@theguild/prettier-config": "3.0.1",
"bob-the-bundler": "7.0.1",
"eslint": "10.2.0",
"eslint-plugin-tailwindcss": "npm:@hasparus/[email protected]",
"graphql": "16.9.0",
"husky": "9.1.7",
"jest-diff": "30.0.5",
"lint-staged": "16.4.0",
"memfs": "4.36.3",
"patch-package": "8.0.0",
"prettier": "3.8.1",
"prettier-plugin-svelte": "3.5.1",
"rimraf": "6.0.1",
"svelte": "5.55.1",
"ts-node": "10.9.2",
"tslib": "2.6.3",
"tsx": "4.17.0",
"typescript": "5.5.4",
"vite-tsconfig-paths": "6.1.1",
"vitest": "4.0.4",
"wrangler": "4.1.0"
},
"resolutions": {
"@rushstack/eslint-patch": "1.16.1",
"@typescript-eslint/eslint-plugin": "8.58.0",
"@typescript-eslint/parser": "8.58.0",
"@typescript-eslint/scope-manager": "8.58.0",
"@typescript-eslint/type-utils": "8.58.0",
"@typescript-eslint/types": "8.58.0",
"@typescript-eslint/typescript-estree": "8.58.0",
"@typescript-eslint/utils": "8.58.0",
"@typescript-eslint/visitor-keys": "8.58.0",
"eslint-plugin-promise": "7.1.0",
"typescript": "5.5.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"
]
}
}