-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
85 lines (85 loc) · 2.22 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
{
"name": "@swan-io/graphql-client",
"version": "0.4.2",
"license": "MIT",
"description": "A simple, typesafe GraphQL client for React",
"author": "Matthias Le Brun <[email protected]>",
"homepage": "https://swan-io.github.io/graphql-client",
"repository": {
"type": "git",
"url": "https://github.com/swan-io/graphql-client.git"
},
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"keywords": [
"cache",
"client",
"gql",
"graphql",
"react"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"bin": {
"generate-schema-config": "bin/generate-schema-config"
},
"files": [
"bin",
"LICENSE",
"dist",
"README.md"
],
"scripts": {
"lint": "eslint 'src/**/*.{ts,tsx}'",
"example": "vite example --config vite.config.mjs",
"format": "prettier '**/*' --ignore-unknown --write",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"build": "tsup && tsc -p tsconfig.build.json --emitDeclarationOnly",
"prepack": "yarn typecheck && yarn test && yarn build",
"codegen": "graphql-codegen --config codegen.ts"
},
"prettier": {
"plugins": [
"prettier-plugin-organize-imports"
]
},
"dependencies": {
"@0no-co/graphql.web": "^1.0.6",
"@swan-io/boxed": "^3.0.0",
"@swan-io/request": "^1.0.6"
},
"peerDependencies": {
"react": "^18.2.0"
},
"devDependencies": {
"@0no-co/graphqlsp": "^1.7.1",
"@graphql-codegen/cli": "^5.0.2",
"@types/node": "^20.12.3",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.23",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@vitejs/plugin-basic-ssl": "^1.1.0",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"gql.tada": "^1.4.1",
"graphql": "^16.8.1",
"jsdom": "^24.0.0",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-pattern": "^5.1.0",
"tsup": "^8.0.2",
"tsx": "^4.7.1",
"typescript": "^5.6.3",
"vite": "^5.2.7",
"vitest": "^1.4.0"
}
}