mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-04 07:46:21 +02:00
114 lines
2.7 KiB
JSON
114 lines
2.7 KiB
JSON
{
|
|
"name": "api-contract-validator",
|
|
"version": "2.2.8",
|
|
"description": "Plugin for validating API schemas from API documentation",
|
|
"main": "lib/index.js",
|
|
"types": "types/index.d.ts",
|
|
"scripts": {
|
|
"test": "mocha",
|
|
"test:ci": "npm run lint && npm run lint:types && npm run test:coverage",
|
|
"test:coverage": "nyc npm test && npm run test:jest",
|
|
"test:jest": "jest --runInBand --config=jest.config.json",
|
|
"lint": "eslint lib",
|
|
"lint:fix": "eslint --fix lib",
|
|
"lint:types": "dtslint types && eslint types/index.d.ts",
|
|
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/PayU/api-contract-validator.git"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"types/index.d.ts"
|
|
],
|
|
"directories": {
|
|
"lib": "lib",
|
|
"test": "test"
|
|
},
|
|
"keywords": [
|
|
"chai",
|
|
"chai-plugin",
|
|
"should",
|
|
"plugin",
|
|
"api",
|
|
"openapi",
|
|
"swagger",
|
|
"response",
|
|
"contract",
|
|
"testing",
|
|
"validator",
|
|
"rest",
|
|
"restapi",
|
|
"assert",
|
|
"assertion",
|
|
"jest"
|
|
],
|
|
"author": "Kobi Carmeli",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/PayU/api-contract-validator/issues"
|
|
},
|
|
"homepage": "git+https://github.com/PayU/api-contract-validator#readme",
|
|
"dependencies": {
|
|
"api-schema-builder": "^2.0.10",
|
|
"chalk": "^3.0.0",
|
|
"columnify": "^1.5.4",
|
|
"jest-diff": "^25.5.0",
|
|
"jest-matcher-utils": "^25.5.0",
|
|
"lodash.flatten": "^4.4.0",
|
|
"lodash.get": "^4.4.2",
|
|
"lodash.set": "^4.3.2",
|
|
"uri-js": "^4.4.1"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
"@typescript-eslint/parser": "^2.34.0",
|
|
"axios": "^0.21.1",
|
|
"chai": "^4.3.4",
|
|
"chai-like": "^1.1.1",
|
|
"coveralls": "^3.1.1",
|
|
"dtslint": "^4.1.3",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-airbnb": "^18.2.1",
|
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
"eslint-plugin-import": "^2.23.4",
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
"eslint-plugin-react": "^7.24.0",
|
|
"fastify": "^3.20.0",
|
|
"jest": "^25.5.4",
|
|
"mocha": "^7.2.0",
|
|
"nock": "^12.0.3",
|
|
"nyc": "^15.1.0",
|
|
"request": "^2.88.2",
|
|
"request-promise-native": "^1.0.9",
|
|
"should": "^13.2.3",
|
|
"sinon": "^9.2.4",
|
|
"supertest": "^4.0.2",
|
|
"typescript": "3.8.3"
|
|
},
|
|
"nyc": {
|
|
"check-coverage": true,
|
|
"exclude": [
|
|
"lib/plugins/jest/**/*",
|
|
"node_modules",
|
|
"coverage",
|
|
".nyc_output",
|
|
"test"
|
|
],
|
|
"lines": 95,
|
|
"statements": 95,
|
|
"functions": 95,
|
|
"branches": 95,
|
|
"reporter": [
|
|
"lcov",
|
|
"text"
|
|
],
|
|
"cache": true,
|
|
"all": true
|
|
},
|
|
"engines": {
|
|
"node": ">=8"
|
|
}
|
|
}
|