UNPKG

spectaql

Version:

A powerful library for autogenerating static GraphQL API documentation

158 lines (157 loc) 5.55 kB
{ "name": "spectaql", "version": "3.0.4", "description": "A powerful library for autogenerating static GraphQL API documentation", "author": "Anvil Foundry Inc. <hello@useanvil.com>", "homepage": "https://github.com/anvilco/spectaql", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/anvilco/spectaql.git" }, "bugs": { "url": "https://github.com/anvilco/spectaql/issues" }, "keywords": [ "graphql", "docs", "documentation", "introspection", "introspection-query", "api", "builder", "generator" ], "engines": { "node": ">=16", "npm": ">=7" }, "main": "index.js", "bin": { "spectaql": "./bin/spectaql.js" }, "files": [ "package.json", "README.md", "LICENSE.md", "CHANGELOG.md", "bin/", "vendor/", "dist/", "examples/", "!**/.DS_STORE", "!**/.DS_Store" ], "scripts": { "clean:dist": "rimraf ./dist", "clean:vendor": "rimraf ./vendor", "clean": "npm run clean:dist && npm run clean:vendor", "build:with-maps": "npm run build:src --source-maps", "build:site": "node bin/spectaql", "build:example": "npm run build:site --target-dir ./examples/output ./examples/config.yml", "build:src": "babel src --out-dir ./dist --copy-files", "build:vendor": "node bin/build-vendor.mjs", "build": "npm run build:vendor && npm run build:src", "clean-build:src": "npm run clean:dist && npm run build:src", "clean-build:vendor": "npm run clean:vendor && npm run build:vendor", "clean-build": "npm run clean && npm run build", "prepack": "husky install && npm run ensure-npm && npm run clean-build", "ensure-npm": "node dev/ensure-npm.mjs", "publish:dry-run": "npm pack --dry-run", "publish:version": "npm version", "publish:beta": "npm publish --tag beta", "test": "NODE_ENV=test npm run build:vendor && npm run clean-build:src && NODE_ENV=test mocha --config ./test/mocha-config.js", "test:watch": "nodemon -x 'npm test'", "test:debug": "npm test --node-option inspect=0.0.0.0:9223", "test:debug:watch": "nodemon -x 'npm run test:debug'", "develop": "nodemon -x 'npm run clean-build && node bin/spectaql' -- -D", "develop:deep-nesting": "npm run develop --theme-dir ./examples/themes/deep-nesting-data --config ./examples/config.yml", "develop:echo-directive-sdl": "node dev/echoDirectiveSdl.mjs", "test-e2e:build": "npm run clean-build && rimraf test/e2e/spectaql.tgz && node dev/build-e2e.mjs", "test-e2e:install": "npm --prefix test/e2e run prep && npm --prefix test/e2e install", "test-e2e:test": "npm --prefix test/e2e test", "test-e2e:build-and-install": "npm run test-e2e:build && npm run test-e2e:install", "test-e2e:install-and-test": "npm run test-e2e:install && npm run test-e2e:test", "test-e2e:all": "npm run test-e2e:build && npm run test-e2e:install && npm run test-e2e:test", "prettify": "prettier 'src/**/*.js' 'bin/**/*.js' 'test/**/*.js'", "lint": "eslint 'src/**/*.*js' 'bin/**/*.*js' 'test/**/*.*js'", "lint:fix": "npm run lint --fix", "lint:quiet": "npm run lint --quiet", "lint:quiet:fix": "npm run lint:quiet --fix", "prettify:check": "npm run prettify --check", "prettify:write": "npm run prettify --write", "generateExampleData": "node bin/generateExampleData.js" }, "dependencies": { "@anvilco/apollo-server-plugin-introspection-metadata": "^2.2.3", "@graphql-tools/load-files": "^6.3.2", "@graphql-tools/merge": "^8.1.2", "@graphql-tools/schema": "^10.0.6", "@graphql-tools/utils": "^10.6.1", "cheerio": "1.0.0-rc.12", "coffeescript": "^2.6.1", "commander": "^10.0.0", "fast-glob": "^3.2.12", "graceful-fs": "~4.2.10", "graphql": "^16.3.0", "graphql-scalars": "^1.15.0", "grunt": "~1.5.3", "grunt-contrib-clean": "^2.0.0", "grunt-contrib-concat": "^2.1.0", "grunt-contrib-connect": "^5.0.0", "grunt-contrib-copy": "^1.0.0", "grunt-contrib-cssmin": "^5.0.0", "grunt-contrib-uglify": "^5.0.1", "grunt-contrib-watch": "^1.1.0", "grunt-sass": "^3.0.2", "handlebars": "^4.7.7", "highlight.js": "^11.4.0", "htmlparser2": "~9.0.0", "js-beautify": "~1.14.7", "js-yaml": "^4.1.0", "json-stringify-pretty-compact": "^3.0.0", "json5": "^2.2.0", "lodash": "^4.17.21", "marked": "^4.0.12", "microfiber": "^2.0.1", "postcss": "^8.4.19", "sass": "^1.32.13", "sync-request": "^6.1.0", "tmp": "0.2.1" }, "devDependencies": { "@babel/cli": "^7.17.6", "@babel/core": "^7.17.5", "@babel/preset-env": "^7.16.11", "@babel/register": "^7.17.0", "app-module-path": "^2.2.0", "bdd-lazy-var": "^2.6.0", "chai": "^4.3.0", "chai-as-promised": "^7.1.1", "chai-exclude": "^2.0.2", "eslint": "^8.10.0", "eslint-plugin-mocha": "10", "eslint-plugin-node": "^11.1.0", "eslint-plugin-standard": "^5.0.0", "husky": ">=6", "lint-staged": ">=10", "mocha": "^10.1.0", "nodemon": "^3.0.1", "prettier": "^2.5.1", "rewire": "^6.0.0", "rimraf": "^5.0.0", "sinon": "^15.0.1", "sinon-chai": "^3.7.0" }, "resolutions": { "grunt-compile-handlebars/lodash.merge": "^4.6.2", "grunt-prettify/globby": "^11.0.4", "grunt-prettify/underscore.string": "^3.3.5", "**/lodash": "^4.17.20", "**/resolve/path-parse": "^1.0.7" }, "lint-staged": { "*.js": "eslint --cache --fix", "*.{js,css,md}": "prettier --write" } }