UNPKG

@github/openapi

Version:

OpenAPI schema for GitHub's REST API

65 lines (64 loc) 1.83 kB
{ "name": "@github/openapi", "version": "5.7.2", "description": "OpenAPI schema for GitHub's REST API", "repository": "https://github.com/github/openapi", "engines": { "node": ">=12" }, "main": "index.js", "files": [ "index.js", "dist" ], "scripts": { "test": "npm run lint && npm run validate && npm run build && jest", "validate": "openapi lint definitions/*.yml", "bundle": "openapi bundle -o dist --ext=json definitions/*[!next].yml", "dereference": "openapi bundle --dereferenced -o dist/deref --ext=json definitions/*[!next].yml", "build": "rimraf dist && npm run bundle && npm run dereference", "lint": "standard", "lint-fix": "standard --fix", "start": "openapi preview-docs -p 4001 definitions/api.github.com.yml", "preexternalize-strings": "npm run build", "externalize-strings": "node scripts/externalize-strings.js", "watch": "nodemon -e yml --exec 'npm run build'" }, "keywords": [ "openapi", "github" ], "author": "Roman Hotsiy (https://github.com/romanhotsiy)", "license": "MIT", "dependencies": { "@redocly/openapi-cli": "^1.0.0-beta.3", "ajv": "^6.10.2", "chalk": "^2.4.2", "got": "^10.2.2", "is-url": "^1.2.4", "js-yaml": "^3.13.1", "json-merge-patch": "^0.2.3", "lodash": "^4.17.15" }, "devDependencies": { "@octokit/auth-app": "^2.4.7", "@octokit/core": "^2.5.4", "@octokit/plugin-paginate-rest": "^2.2.2", "assert-node-version": "^1.0.3", "flat": "^5.0.0", "jest": "^24.9.0", "mkdirp": "^1.0.4", "nock": "^11.7.2", "nodemon": "^2.0.4", "rimraf": "^3.0.0", "semantic-release": "^15.14.0", "semver": "^7.1.1", "standard": "^14.3.1", "walk-sync": "^2.2.0" }, "standard": { "env": { "jest": true } } }