-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.32 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
{
"version": "0.4.0",
"name": "@amoutonbrady/graphql-client",
"description": "Minimalistic GraphQL client",
"author": "Alexandre Mouton-Brady <[email protected]>",
"private": false,
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/amoutonbrady/graphql-client.git"
},
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "dist/esm/graphql-client.js",
"module": "dist/esm/graphql-client.js",
"types": "dist/types/graphql-client.d.ts",
"exports": {
".": {
"default": "./dist/esm/graphql-client.js"
}
},
"files": [
"dist"
],
"scripts": {
"build:esm": "esbuild --bundle src/graphql-client.ts --outfile=dist/esm/graphql-client.js --target=esnext --platform=browser --format=esm",
"build:types": "tsc",
"build": "run-p build:*",
"format": "prettier --write \"{src,tests}/**/*.ts\"",
"test": "pnpm build && vitest run",
"test:coverage": "vitest run --coverage",
"prepublishOnly": "run-s format test"
},
"keywords": [
"graphql",
"client",
"minimal"
],
"devDependencies": {
"esbuild": "^0.17.16",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.7",
"typescript": "^5.0.4",
"vitest": "^0.30.0"
},
"license": "MIT",
"engines": {
"node": ">=18.5",
"pnpm": ">=8"
}
}