UNPKG

graphql-document-analyzer

Version:

Resilient analyzing and printing of GraphQL documents

54 lines (53 loc) 1.12 kB
{ "name": "graphql-document-analyzer", "version": "0.7.0", "description": "Resilient analyzing and printing of GraphQL documents", "keywords": [ "graphql", "document", "analyze", "parse", "print", "visit", "resilient" ], "author": "Tim Hall <tim@timhall.dev>", "license": "MIT", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "scripts": { "typecheck": "tsc --noEmit", "build": "tsup src/index.ts --dts --format esm,cjs --target ES2019 --onSuccess \"node scripts/fix-cjs.js\"", "prepublishOnly": "pnpm build", "test": "vitest", "format": "prettier --write ." }, "devDependencies": { "@tsconfig/node12": "^1.0.11", "@types/node": "^18.17.5", "graphql": "^15.8.0", "prettier": "^3.0.2", "tsup": "^7.2.0", "typescript": "^5.1.6", "vitest": "^0.34.1" }, "peerDependencies": { "graphql": "^15" }, "files": [ "dist" ] }