UNPKG

open-api-mocker

Version:

A mock server based in Open API Specification

71 lines (70 loc) 1.76 kB
{ "name": "open-api-mocker", "version": "2.0.0", "description": "A mock server based in Open API Specification", "main": "lib/open-api-mocker.js", "bin": { "open-api-mocker": "lib/open-api-mocker-cli.js" }, "scripts": { "lint": "eslint ./lib ./tests", "test": "mocha -R nyan --recursive --require tests/bootstrap.js tests/", "coverage:ci": "nyc --reporter=lcov mocha --recursive tests/", "coverage": "nyc npm test", "prepare": "husky install" }, "files": [ "lib/" ], "keywords": [ "api", "openapi", "schema", "mock", "mocking", "mock-server" ], "author": "Joaquin Ormaechea", "license": "MIT", "devDependencies": { "eslint": "^8.41.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-plugin-import": "^2.27.5", "husky": "^8.0.3", "lint-staged": "^13.2.2", "mocha": "^10.2.0", "mock-require": "^3.0.3", "nyc": "^15.1.0", "sinon": "^15.1.0" }, "dependencies": { "@faker-js/faker": "^8.0.2", "ajv": "^6.12.6", "ajv-openapi": "^2.0.0", "body-parser": "^1.20.2", "chokidar": "^3.5.3", "colors": "^1.4.0", "cookie-parser": "^1.4.6", "cors": "^2.8.5", "express": "^4.18.2", "js-yaml": "^4.1.0", "json-refs": "^3.0.15", "lllog": "^1.1.2", "micro-memoize": "^4.1.2", "parse-prefer-header": "^1.0.0", "superstruct": "^0.6.2", "yargs": "^17.7.2" }, "directories": { "lib": "lib", "test": "tests" }, "repository": { "type": "git", "url": "git+https://jormaechea@github.com/jormaechea/open-api-mocker.git" }, "bugs": { "url": "https://github.com/jormaechea/open-api-mocker/issues" }, "homepage": "https://github.com/jormaechea/open-api-mocker#readme" }