-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.44 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 2.44 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
{
"name": "graphql-codegen-react-query",
"description": "Generating types and react-query hooks from a graphql schema",
"version": "1.0.18",
"main": "index.js",
"repository": "https://github.com/jpb06/graphql-codegen-react-query.git",
"author": "jpb06 <jp.bois.06@outlook.fr>",
"bin": {
"gqlCodegen": "./cli/generate-from-url/generate-from-url.cli.js",
"gqlCodegen-init": "./cli/initialize-codegen/initialize-codegen.cli.js"
},
"keywords": [],
"license": "MIT",
"dependencies": {
"@tanstack/react-query": "^4.29.3",
"axios": "^1.3.5",
"chalk": "4.1.2",
"dotenv-flow": "^3.2.0",
"rome": "^12.0.0",
"yaml": "^2.2.1",
"yargs": "^17.7.1"
},
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@jest/types": "^29.5.0",
"@swc/core": "^1.3.52",
"@swc/jest": "^0.2.26",
"@types/dotenv-flow": "^3.2.0",
"@types/fs-extra": "9.0.13",
"@types/jest": "^29.5.1",
"@types/node": "^18.15.11",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"copyfiles": "^2.4.1",
"del-cli": "^5.0.0",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"fs-extra": "^11.1.0",
"jest": "^29.4.3",
"jest-mock": "^29.4.3",
"jest-watch-typeahead": "^2.2.2",
"prettier": "^2.8.7",
"react": "^18.2.0",
"readme-package-icons": "^1.1.8",
"typescript": "^5.0.4"
},
"scripts": {
"copy-package": "copyfiles package.json ./dist/",
"copy-readme": "copyfiles README.md ./dist/",
"build": "del-cli ./dist && tsc --project tsconfig.prod.json",
"postbuild": "pnpm copy-package && pnpm copy-readme",
"test": "jest",
"test-changes": "jest --watch",
"test-dev": "jest --coverage --watchAll",
"test-silentcov": "jest --coverage --silent --runInBand --watchAll=false",
"test-ci": "jest --ci --coverage",
"lint": "eslint ./src",
"type-check": "tsc -p tsconfig.prod.json --noEmit",
"precli": "pnpm build",
"cli": "rm -rf src/api && node ./dist/cli/generate-from-url/generate-from-url.cli.js -c src/temp/react-query.codeden.yml",
"cli-init": "rm -rf src/api && node ./dist/cli/initialize-codegen/initialize-codegen.cli.js -u process.env.API_URL",
"sync-icons": "pnpm generateReadmeIcons -h 50"
}
}