Mirror: The small sibling of the graphql package, slimmed down for client-side libraries.
1{
2 "name": "graphql-web-lite",
3 "description": "graphql npm package slimmed down for client-side libraries",
4 "version": "16.6.0-4",
5 "license": "MIT",
6 "scripts": {
7 "prepare": "node ./scripts/prepare.js",
8 "test": "vitest",
9 "lint": "eslint --ext=js,mjs .",
10 "clean": "node ./scripts/clean.js",
11 "build": "rollup -c scripts/rollup/config.mjs",
12 "size-check": "cd scripts/buildenv && pnpm run build",
13 "prepublishOnly": "run-s clean test build"
14 },
15 "author": "0no.co <hi@0no.co>",
16 "main": "index",
17 "module": "index.mjs",
18 "types": "index.d.ts",
19 "sideEffects": false,
20 "engines": {
21 "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
22 },
23 "files": [
24 "README.md",
25 "LICENSE.md",
26 "*.d.ts",
27 "*.mjs",
28 "*.js",
29 "error/",
30 "execution/",
31 "jsutils/",
32 "language/",
33 "subscription/",
34 "type/",
35 "utilities/",
36 "validation/"
37 ],
38 "keywords": [
39 "graphql",
40 "graphql-js",
41 "lite"
42 ],
43 "homepage": "https://github.com/0no-co/graphql-web-lite",
44 "bugs": {
45 "url": "https://github.com/0no-co/graphql-web-lite/issues"
46 },
47 "repository": {
48 "type": "git",
49 "url": "https://github.com/0no-co/graphql-web-lite.git"
50 },
51 "pnpm": {
52 "peerDependencyRules": {
53 "allowedVersions": {
54 "graphql": "*"
55 }
56 },
57 "overrides": {
58 "graphql": "~16.6.0"
59 }
60 },
61 "dependencies": {
62 "@0no-co/graphql.web": "^1.0.0"
63 },
64 "devDependencies": {
65 "@babel/core": "^7.21.3",
66 "@rollup/plugin-babel": "^6.0.3",
67 "@rollup/plugin-node-resolve": "^15.0.1",
68 "@rollup/plugin-replace": "^5.0.2",
69 "@rollup/plugin-terser": "^0.4.0",
70 "@typescript-eslint/eslint-plugin": "^5.55.0",
71 "@typescript-eslint/parser": "^5.55.0",
72 "babel-plugin-modular-graphql": "^1.0.1",
73 "dotenv": "^16.0.3",
74 "eslint": "^8.36.0",
75 "eslint-config-prettier": "^8.7.0",
76 "eslint-plugin-prettier": "^4.2.1",
77 "eslint-plugin-tsdoc": "^0.2.17",
78 "glob": "^9.3.2",
79 "graphql": "~16.6.0",
80 "graphql15": "npm:graphql@^15.8.0",
81 "husky-v4": "^4.3.8",
82 "lint-staged": "^11.1.2",
83 "npm-run-all": "^4.1.5",
84 "prettier": "^2.8.4",
85 "rimraf": "^4.4.1",
86 "rollup": "^3.20.0",
87 "semver": "^7.3.5",
88 "sucrase": "^3.30.0",
89 "typescript": "^5.0.2",
90 "vitest": "^0.29.7"
91 },
92 "prettier": {
93 "singleQuote": true,
94 "tabWidth": 2,
95 "printWidth": 100
96 },
97 "eslintConfig": {
98 "root": true,
99 "extends": [
100 "./scripts/eslint/preset.js"
101 ]
102 },
103 "lint-staged": {
104 "*.{mjs,js}": "eslint --fix",
105 "*.{json,md}": "prettier --write"
106 },
107 "husky": {
108 "hooks": {
109 "pre-commit": "lint-staged --quiet --relative"
110 }
111 }
112}