-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
84 lines (84 loc) · 2.49 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": "graphql-codegen-plugin-typescript-swr",
"version": "0.8.5",
"description": "A GraphQL code generator plug-in that automatically generates utility functions for SWR.",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": "https://github.com/croutonn/graphql-codegen-plugin-typescript-swr",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
},
"keywords": [
"graphql",
"codegen",
"typescript",
"ts",
"swr",
"stale-while-revalidate",
"react"
],
"scripts": {
"build": "run-p build:*",
"build:main": "tsc -p tsconfig.main.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint src --ext .ts --fix",
"test": "run-s build test:*",
"test:lint": "eslint src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:integrate": "jest --no-watchman",
"watch:build": "tsc -p tsconfig.json -w"
},
"peerDependencies": {
"graphql": "<17.0.0"
},
"dependencies": {
"@graphql-codegen/plugin-helpers": "^2.3.1",
"@graphql-codegen/visitor-plugin-common": "^2.5.1",
"@types/micromatch": "^4.0.1",
"graphql-request": "^4.0.0",
"micromatch": "^4.0.4",
"pascal-case": "^3.1.2",
"swr": "^1.0.0",
"tslib": "^2.2.0"
},
"devDependencies": {
"@graphql-codegen/testing": "^1.17.7",
"@graphql-codegen/typescript": "^2.0.0",
"@graphql-codegen/typescript-graphql-request": "^4.0.0",
"@graphql-codegen/typescript-operations": "^2.0.0",
"@types/jest": "^29.0.0",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.4.0",
"eslint": "^8.0.0",
"eslint-config-airbnb": "^19.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^3.0.0",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"graphql": "<17.0.0",
"jest": "^29.0.0",
"jest-docblock": "^29.0.0",
"jest-junit": "^15.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"react": "^17.0.2",
"ts-jest": "^29.0.0",
"typescript": "^4.1.3"
},
"files": [
"build/main",
"build/module",
"!**/*.spec.*",
"!**/*.json",
"LICENSE",
"README.md"
]
}