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-1",
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": "^16.19.0 || ^18.14.0 || >=19.7.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 "devDependencies": {
62 "@0no-co/graphql.web": "^0.1.6",
63 "@babel/core": "^7.21.3",
64 "@rollup/plugin-babel": "^6.0.3",
65 "@rollup/plugin-node-resolve": "^15.0.1",
66 "@rollup/plugin-replace": "^5.0.2",
67 "@rollup/plugin-terser": "^0.4.0",
68 "@typescript-eslint/eslint-plugin": "^5.55.0",
69 "@typescript-eslint/parser": "^5.55.0",
70 "babel-plugin-modular-graphql": "^1.0.1",
71 "dotenv": "^16.0.3",
72 "eslint": "^8.36.0",
73 "eslint-config-prettier": "^8.7.0",
74 "eslint-plugin-prettier": "^4.2.1",
75 "eslint-plugin-tsdoc": "^0.2.17",
76 "glob": "^9.3.2",
77 "graphql": "~16.6.0",
78 "graphql15": "npm:graphql@^15.8.0",
79 "husky-v4": "^4.3.8",
80 "lint-staged": "^11.1.2",
81 "npm-run-all": "^4.1.5",
82 "prettier": "^2.8.4",
83 "rimraf": "^4.4.1",
84 "rollup": "^3.20.0",
85 "semver": "^7.3.5",
86 "sucrase": "^3.30.0",
87 "typescript": "^5.0.2",
88 "vitest": "^0.29.7"
89 },
90 "prettier": {
91 "singleQuote": true,
92 "tabWidth": 2,
93 "printWidth": 100
94 },
95 "eslintConfig": {
96 "root": true,
97 "extends": [
98 "./scripts/eslint/preset.js"
99 ]
100 },
101 "lint-staged": {
102 "*.{mjs,js}": "eslint --fix",
103 "*.{json,md}": "prettier --write"
104 },
105 "husky": {
106 "hooks": {
107 "pre-commit": "lint-staged --quiet --relative"
108 }
109 }
110}