-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.82 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
{
"name": "@labdigital/graphql-fetcher",
"version": "1.5.0-next.0",
"description": "Custom fetcher for react-query to use with @labdigital/node-federated-token",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"keywords": [
"graphql",
"authentication"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./server": {
"import": "./dist/server.js",
"require": "./dist/server.cjs",
"types": "./dist/server.d.ts"
}
},
"author": "Lab Digital <opensource@labdigital.nl>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/labd/node-graphql-fetcher"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup --env.PACKAGE_VERSION $(jq -r '.version' package.json)",
"publish:ci": "pnpm build && pnpm changeset publish",
"test": "vitest run",
"test:ci": "vitest run --coverage",
"tsc": "tsc --noEmit",
"format": "prettier --write src/ *.json *.js *.ts",
"lint": "eslint *.ts"
},
"files": [
"dist",
"src"
],
"dependencies": {
"@apollo/utils.createhash": "^3.0.0",
"tiny-invariant": "^1.3.1"
},
"devDependencies": {
"@apollo/server-gateway-interface": "1.1.0",
"@changesets/cli": "^2.26.2",
"@graphql-typed-document-node/core": "^3.2.0",
"@types/node": "^20.9.4",
"@types/react": "^18.2.37",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@vitest/coverage-v8": "0.32.2",
"eslint": "^8.40.0",
"eslint-plugin-unused-imports": "^2.0.0",
"tsup": "^7.1.0",
"typescript": "^5.1.5",
"vitest": "0.32.2",
"vitest-fetch-mock": "^0.2.2"
},
"peerDependencies": {
"graphql": ">= 16.6.0",
"react": ">= 18.0.0",
"react-dom": ">= 18.2.0",
"@opentelemetry/api": ">= 1.7.0"
},
"packageManager": "pnpm@8.15.8"
}