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": "0.1.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 "exports": {
11 ".": {
12 "import": "./dist/graphql.web.mjs",
13 "require": "./dist/graphql.web.js",
14 "types": "./dist/graphql.web.d.ts",
15 "source": "./src/index.ts"
16 },
17 "./package.json": "./package.json"
18 },
19 "sideEffects": false,
20 "public": true,
21 "keywords": [
22 "graphql",
23 "graphql-js",
24 "client-side graphql"
25 ],
26 "scripts": {
27 "test": "vitest run",
28 "check": "tsc",
29 "lint": "eslint --ext=js,ts .",
30 "build": "rollup -c scripts/rollup.config.mjs",
31 "clean": "rimraf dist node_modules/.cache",
32 "prepublishOnly": "run-s clean build check test",
33 "prepare": "node ./scripts/prepare.js",
34 "changeset:version": "changeset version && pnpm install --lockfile-only",
35 "changeset:publish": "changeset publish"
36 },
37 "repository": "https://github.com/0no-co/graphql.web",
38 "bugs": {
39 "url": "https://github.com/0no-co/graphql.web/issues"
40 },
41 "license": "MIT",
42 "prettier": {
43 "singleQuote": true,
44 "tabWidth": 2,
45 "printWidth": 100
46 },
47 "lint-staged": {
48 "*.{ts,js}": "eslint -c scripts/eslint-preset.js --fix",
49 "*.json": "prettier --write",
50 "*.md": "prettier --write"
51 },
52 "husky": {
53 "hooks": {
54 "pre-commit": "lint-staged --quiet --relative"
55 }
56 },
57 "eslintConfig": {
58 "root": true,
59 "extends": [
60 "./scripts/eslint-preset.js"
61 ]
62 },
63 "devDependencies": {
64 "@changesets/cli": "^2.26.0",
65 "@changesets/get-github-info": "^0.5.2",
66 "@rollup/plugin-buble": "^1.0.2",
67 "@rollup/plugin-commonjs": "^24.0.1",
68 "@rollup/plugin-node-resolve": "^15.0.1",
69 "@rollup/plugin-sucrase": "^5.0.1",
70 "@rollup/plugin-terser": "^0.4.0",
71 "@typescript-eslint/eslint-plugin": "^5.55.0",
72 "@typescript-eslint/parser": "^5.55.0",
73 "eslint": "^8.36.0",
74 "eslint-config-prettier": "^8.7.0",
75 "eslint-plugin-prettier": "^4.2.1",
76 "eslint-plugin-tsdoc": "^0.2.17",
77 "husky-v4": "^4.3.8",
78 "lint-staged": "^13.2.0",
79 "npm-run-all": "^4.1.5",
80 "prettier": "^2.8.4",
81 "rimraf": "^4.4.0",
82 "rollup": "^3.19.1",
83 "rollup-plugin-cjs-check": "^1.0.2",
84 "rollup-plugin-dts": "^5.3.0",
85 "terser": "^5.16.6",
86 "typescript": "^5.0.2",
87 "vitest": "^0.29.3"
88 }
89}