UNPKG

chai-openapi-response-validator

Version:
70 lines (69 loc) 2.34 kB
{ "name": "chai-openapi-response-validator", "version": "0.14.2", "description": "Use Chai to assert that HTTP responses satisfy an OpenAPI spec", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "clean": "rimraf dist", "clean:openapi-validator": "cd ../openapi-validator && yarn clean", "format": "prettier --write ../../ --ignore-path ../../.prettierignore", "lint": "tsc --noEmit --project tsconfig.eslint.json && eslint .", "lint:fix": "yarn lint --fix", "build": "tsc", "test": "ts-mocha --extension ts --recursive", "test:watch": "yarn test --watch", "test:coverage": "yarn clean && yarn clean:openapi-validator && nyc yarn test && nyc report --reporter=lcov && nyc check-coverage", "test:coverage:browse": "yarn test:coverage; open ../coverage/lcov-report/index.html", "test:ci": "yarn format && yarn lint && yarn test:coverage", "prepack": "yarn build" }, "repository": "https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator", "author": "OpenApiChai <openapichai@gmail.com>", "contributors": [ "Jonny Spruce <jspruce94@gmail.com>", "rwalle61 <richard.lh.waller@gmail.com>" ], "license": "MIT", "keywords": [ "chai", "chai-plugin", "http", "response", "openapi", "validate" ], "bugs": { "url": "https://github.com/openapi-library/OpenAPIValidators/issues" }, "homepage": "https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme", "files": [ "dist" ], "devDependencies": { "@types/chai": "^4.2.15", "@types/mocha": "^8.2.1", "@types/request-promise": "^4.1.48", "@types/supertest": "^2.0.11", "axios": "^0.21.1", "chai": "^4.2.0", "chai-http": "^4.3.0", "eslint": "^7.11.0", "eslint-plugin-chai-friendly": "^0.6.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-mocha": "^8.0.0", "express": "^4.17.1", "fs-extra": "^9.0.1", "mocha": "^8.2.0", "nyc": "15.1.0", "request": "^2.88.2", "request-promise": "^4.2.6", "rimraf": "^3.0.2", "supertest": "^6.0.0", "ts-mocha": "^8.0.0" }, "dependencies": { "openapi-validator": "^0.14.2" }, "gitHead": "ecaac34d42e59b02c781d229e4a46dc9c1a5f0f2" }