jest-openapi
Version:
Jest matchers for asserting that HTTP responses satisfy an OpenAPI spec
63 lines (62 loc) • 2 kB
JSON
{
"name": "jest-openapi",
"version": "0.14.2",
"description": "Jest matchers for asserting 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": "jest",
"test:watch": "jest --watch",
"test:coverage": "yarn clean && yarn clean:openapi-validator && jest --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/jest-openapi",
"author": "rwalle61 <richard.lh.waller@gmail.com>",
"contributors": [
"Jonny Spruce <jspruce94@gmail.com>"
],
"license": "MIT",
"keywords": [
"jest",
"openapi",
"testing",
"response",
"validate",
"assertions"
],
"bugs": {
"url": "https://github.com/openapi-library/OpenAPIValidators/issues"
},
"homepage": "https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme",
"files": [
"dist"
],
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/request-promise": "^4.1.48",
"@types/supertest": "^2.0.11",
"axios": "^0.21.1",
"eslint": "^7.11.0",
"eslint-plugin-jest": "^24.1.0",
"express": "^4.17.1",
"fs-extra": "^9.0.1",
"jest": "^26.6.3",
"request-promise": "^4.2.6",
"supertest": "^6.0.0",
"ts-jest": "^26.5.3",
"ts-node": "^9.1.1"
},
"dependencies": {
"jest-matcher-utils": "^26.6.2",
"openapi-validator": "^0.14.2"
},
"gitHead": "ecaac34d42e59b02c781d229e4a46dc9c1a5f0f2"
}