UNPKG

@ardatan/openapi-to-graphql

Version:

Generates a GraphQL schema for a given OpenAPI Specification (OAS)

107 lines (106 loc) 2.58 kB
{ "name": "@ardatan/openapi-to-graphql", "version": "2.0.6", "description": "Generates a GraphQL schema for a given OpenAPI Specification (OAS)", "copyright.owner": "IBM Corp.", "contributors": [ "Alan Cha", "Erik Wittern" ], "engines": { "node": ">=8" }, "repository": { "type": "git", "url": "https://github.com/ibm/openapi-to-graphql" }, "homepage": "https://github.com/ibm/openapi-to-graphql", "keywords": [ "ibm", "strongloop", "loopback", "oas", "openapi specification", "graphql", "translation", "wrap", "create", "rest", "restful", "api", "apiharmony" ], "license": "MIT", "standard": { "ignore": [ "*.js" ] }, "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "api": "nodemon test/example_api_server.js", "dev": "tsc -w", "start_dev": "DEBUG=preprocessing,translation,http nodemon test/example_gql_server.js", "build": "tsc", "guru-load": "node test/evaluation/load_apis_guru.js", "guru-test": "DEBUG=preprocessing,translation node test/evaluation/eval_apis_guru.js", "test": "npm run build && jest", "lint": "tslint --project ." }, "husky": { "hooks": { "pre-commit": "pretty-quick --staged" } }, "jest": { "moduleFileExtensions": [ "ts", "tsx", "js" ], "transform": { "\\.(ts|tsx)$": "ts-jest" }, "testRegex": "/test/.*\\.test\\.(ts|tsx|js)$" }, "dependencies": { "cross-fetch": "3.0.4", "debug": "^4.1.0", "deep-equal": "^2.0.1", "form-urlencoded": "^4.1.1", "graphql-type-json": "^0.2.1", "jsonpath-plus": "^3.0.0", "oas-validator": "^3.1.0", "pluralize": "^8.0.0", "swagger2openapi": "^5.1.0", "url-join": "4.0.1" }, "peerDependencies": { "graphql": "^0.9.6 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0" }, "devDependencies": { "@types/graphql": "^14.0.3", "@types/jest": "^25.1.0", "@types/node": "^13.5.0", "@types/url-join": "4.0.0", "body-parser": "^1.18.3", "express": "^4.16.4", "express-graphql": "^0.9.0", "glob": "^7.1.3", "husky": "^4.2.1", "isomorphic-git": "^0.78.2", "jest": "^25.1.0", "js-yaml": "^3.13.1", "nodemon": "^2.0.2", "prettier": "^1.17.1", "pretty-quick": "^2.0.1", "rimraf": "^3.0.1", "simple-statistics": "^7.0.0", "standard": "^14.3.1", "ts-jest": "^25.0.0", "tslint": "^6.0.0", "tslint-config-standard": "^9.0.0", "typescript": "^3.5.3" } }