UNPKG

@graphql-markdown/cli

Version:

NodeJS CLI for generating Markdown documentation from a GraphQL schema.

90 lines (89 loc) 2.55 kB
{ "name": "@graphql-markdown/cli", "homepage": "https://graphql-markdown.dev", "description": "NodeJS CLI for generating Markdown documentation from a GraphQL schema.", "bugs": { "url": "https://github.com/graphql-markdown/graphql-markdown/issues" }, "version": "1.0.0", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/graphql-markdown/graphql-markdown.git", "directory": "packages/cli" }, "keywords": [ "cli", "graphql", "graphql-schema", "documentation", "markdown", "graphql-markdown" ], "author": { "name": "Gregory Heitz" }, "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "gqlmd": "./dist/main.js" }, "exports": { ".": { "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./package.json": "./package.json" }, "scripts": { "stryker": "stryker run", "clean": "tsgo --build --clean && rm -rf ./dist", "docs": "typedoc --options typedoc.config.mjs", "build": "tsgo --build", "lint": "eslint --config ../../packages/tooling-config/eslint/config.ts \"{src,tests}/**/*.{ts,js,json,gql}\"", "lint:fix": "eslint --config ../../packages/tooling-config/eslint/config.ts \"{src,tests}/**/*.{ts,js,json,gql}\" --fix", "prettier": "prettier \"{src,tests,assets}/**/*.{ts,js,json,md,gql}\" --check", "prettier:fix": "prettier \"{src,tests,assets}/**/*.{ts,js,json,md,gql}\" --write", "ts:check": "tsgo --noEmit", "test": "jest", "test:unit": "jest --passWithNoTests --testPathPatterns=tests/unit", "test:integration": "jest --passWithNoTests --testPathPatterns=tests/integration", "test:ci": "jest --passWithNoTests --ci --silent --randomize --runInBand", "test:watch": "jest --watch" }, "dependencies": { "@graphql-markdown/core": "^1.21.0", "@graphql-markdown/logger": "^1.0.7", "@graphql-markdown/types": "^1.13.0", "commander": "^5.1.0", "graphql-config": "5.1.6" }, "devDependencies": { "@graphql-markdown/tooling-config": "^1.0.0" }, "directories": { "test": "tests" }, "engines": { "node": ">=20" }, "publishConfig": { "access": "public" }, "typescript": { "definition": "dist/cli.d.ts" }, "files": [ "dist" ] }