-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 2.13 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
{
"name": "swr-codegen",
"description": "A powerful code generator that Generate SWR hooks from GraphQL queries & mutations",
"private": false,
"author": "Rasoul Mohammadi, Amirreza Hossein Panah",
"version": "0.3.0",
"type": "commonjs",
"main": "dist/main.js",
"homepage": "https://github.com/amirrezaDev1378/swr-codegen#readme",
"bugs": {
"url": "https://github.com/amirrezaDev1378/swr-codegen/issues",
"email": "[email protected]"
},
"license": "Apache",
"funding": [
{
"type": "owner mail",
"url": "[email protected]"
},
{
"type": "owner mail",
"url": "[email protected]"
}
],
"repository": {
"type": "git",
"url": "https://github.com/amirrezaDev1378/swr-codegen"
},
"keywords": [
"swr-codegen",
"swr",
"graphql-codegen",
"codegen"
],
"scripts": {
"dev": "nodemon --exec \"yarn build\" -e ts,ejs ",
"build": "copyfiles -f **/*.ejs dist/src/templates && tsc",
"prepublish": "yarn build",
"start": "node dist/src/main.js",
"prepare": "husky install",
"git-format": "pretty-quick --staged",
"example-project": "cd example-project && node ../dist/src/main.js --configPath=./swr-codegen.config.js"
},
"devDependencies": {
"@types/ejs": "^3.1.2",
"@types/node": "^20.6.0",
"@types/prompts": "^2.4.6",
"copyfiles": "^2.4.1",
"nodemon": "^3.0.1",
"pretty-quick": "^4.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {
"@graphql-codegen/cli": "5.0.0",
"@graphql-codegen/client-preset": "^4.1.0",
"@graphql-codegen/typescript": "4.0.1",
"@graphql-codegen/typescript-document-nodes": "4.0.1",
"commander": "^11.0.0",
"ejs": "^3.1.10",
"globy": "^0.1.8",
"graphql": "*",
"husky": "^8.0.3",
"prompts": "^2.4.2",
"typescript-parser": "^2.6.1",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4"
},
"resolutions": {
"@graphql-codegen/typescript": "4.0.1",
"@graphql-codegen/typescript-document-nodes": "4.0.1",
"@graphql-codegen/cli": "5.0.0",
"ws": "8.17.1",
"jose": "4.15.5"
},
"nodemonConfig": {
"ignore": [
"**/dist/**",
"**/example/**"
]
},
"bin": "./dist/src/main.js",
"preferGlobal": false
}