rest-in-contract
Version:
Rest API Contract. This module is the Contract Server nodejs module for `rest-in-contract` project.
78 lines (77 loc) • 1.75 kB
JSON
{
"name": "rest-in-contract",
"version": "0.2.2",
"description": "Rest API Contract. This module is the Contract Server nodejs module for `rest-in-contract` project.",
"repository": {
"type": "git",
"url": "https://github.com/airicyu/rest-in-contract"
},
"main": "index.js",
"scripts": {
"test": "nyc mocha",
"coverage": "nyc report --reporter=text-lcov > coverage/icov.info && codecov --file=./coverage/lcov.info"
},
"engines": {
"node": ">=7.10.0"
},
"keywords": [
"REST",
"API",
"Consumer-driven contracts",
"Contract",
"Stub"
],
"author": "Eric Yu",
"email": "airic.yu@gmail.com",
"license": "Apache-2.0",
"dependencies": {
"body-parser": "^1.18.3",
"chai": "^4.1.2",
"express": "^4.16.3",
"faker": "^4.1.0",
"fs-extra": "^7.0.0",
"hal": "^1.2.0",
"http-shutdown": "^1.2.0",
"js-beautify": "^1.7.5",
"jsonpath": "^1.0.0",
"moment": "^2.22.2",
"randexp": "^0.5.3",
"request": "^2.88.0",
"rest-in-contract-dsl": "^0.2.3",
"stateful-result": "^1.0.0",
"tcp-port-used": "1.0.0",
"uuid": "^3.3.2",
"vm2": "^3.6.3"
},
"devDependencies": {
"chai": "^4.1.2",
"mocha": "^5.2.0",
"nyc": "^12.0.2",
"request-promise-native": "^1.0.5",
"supertest": "~3.1.0"
},
"api-version": "1",
"nyc": {
"check-coverage": true,
"per-file": true,
"lines": 50,
"statements": 50,
"functions": 50,
"branches": 50,
"include": [
"src/**/*.js"
],
"exclude": [
"src/public/**"
],
"reporter": [
"lcov",
"text-summary"
],
"require": [],
"extension": [],
"cache": true,
"all": true,
"report-dir": "./coverage"
}
}