Mirror: The spec-compliant minimum of client-side GraphQL.
1{
2 "name": "@0no-co/graphql.web",
3 "description": "A spec-compliant client-side GraphQL implementation",
4 "version": "1.2.0",
5 "author": "0no.co <hi@0no.co>",
6 "source": "./src/index.ts",
7 "main": "./dist/graphql.web",
8 "module": "./dist/graphql.web.mjs",
9 "types": "./dist/graphql.web.d.ts",
10 "sideEffects": false,
11 "files": [
12 "LICENSE",
13 "README.md",
14 "dist/"
15 ],
16 "exports": {
17 ".": {
18 "types": "./dist/graphql.web.d.ts",
19 "import": "./dist/graphql.web.mjs",
20 "require": "./dist/graphql.web.js",
21 "source": "./src/index.ts"
22 },
23 "./package.json": "./package.json"
24 },
25 "peerDependencies": {
26 "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
27 },
28 "peerDependenciesMeta": {
29 "graphql": {
30 "optional": true
31 }
32 },
33 "public": true,
34 "keywords": [
35 "graphql",
36 "graphql-js",
37 "client-side graphql"
38 ],
39 "scripts": {
40 "test": "vitest test",
41 "bench": "vitest bench --typecheck.enabled=false",
42 "check": "tsc",
43 "lint": "eslint --ext=js,ts .",
44 "build": "rollup -c scripts/rollup.config.mjs",
45 "clean": "rimraf dist node_modules/.cache",
46 "prepublishOnly": "run-s clean build check test",
47 "prepare": "node ./scripts/prepare.js",
48 "changeset:version": "changeset version && pnpm install --lockfile-only && node ./scripts/jsr.js",
49 "changeset:publish": "changeset publish && jsr publish"
50 },
51 "repository": "https://github.com/0no-co/graphql.web",
52 "bugs": {
53 "url": "https://github.com/0no-co/graphql.web/issues"
54 },
55 "license": "MIT",
56 "prettier": {
57 "singleQuote": true,
58 "tabWidth": 2,
59 "printWidth": 100,
60 "trailingComma": "es5"
61 },
62 "lint-staged": {
63 "*.{ts,js}": "eslint -c scripts/eslint-preset.js --fix",
64 "*.json": "prettier --write",
65 "*.md": "prettier --write"
66 },
67 "husky": {
68 "hooks": {
69 "pre-commit": "lint-staged --quiet --relative"
70 }
71 },
72 "eslintConfig": {
73 "root": true,
74 "extends": [
75 "./scripts/eslint-preset.js"
76 ]
77 },
78 "devDependencies": {
79 "@actions/core": "^1.11.1",
80 "@actions/github": "^5.1.1",
81 "@babel/plugin-transform-block-scoping": "^7.23.4",
82 "@babel/plugin-transform-typescript": "^7.23.6",
83 "@changesets/cli": "^2.29.6",
84 "@changesets/get-github-info": "^0.6.0",
85 "@rollup/plugin-babel": "^6.0.4",
86 "@rollup/plugin-commonjs": "^25.0.7",
87 "@rollup/plugin-node-resolve": "^15.2.3",
88 "@rollup/plugin-terser": "^0.4.4",
89 "@typescript-eslint/eslint-plugin": "^6.20.0",
90 "@typescript-eslint/parser": "^6.20.0",
91 "@vitest/coverage-v8": "^1.2.2",
92 "dotenv": "^16.4.1",
93 "eslint": "^8.56.0",
94 "eslint-config-prettier": "^9.1.0",
95 "eslint-plugin-prettier": "^5.1.3",
96 "eslint-plugin-tsdoc": "^0.2.17",
97 "graphql15": "npm:graphql@^15.8.0",
98 "graphql16": "npm:graphql@^16.8.1",
99 "graphql17": "npm:graphql@^17.0.0-alpha.3",
100 "husky-v4": "^4.3.8",
101 "jsr": "^0.12.1",
102 "lint-staged": "^15.2.0",
103 "npm-run-all": "^4.1.5",
104 "prettier": "^3.2.4",
105 "rimraf": "^5.0.5",
106 "rollup": "^4.9.6",
107 "rollup-plugin-cjs-check": "^1.0.3",
108 "rollup-plugin-dts": "^6.1.0",
109 "terser": "^5.27.0",
110 "typescript": "^5.3.3",
111 "vitest": "^1.2.2"
112 },
113 "publishConfig": {
114 "access": "public",
115 "provenance": true
116 }
117}