61 lines
1.7 KiB
JSON
61 lines
1.7 KiB
JSON
{
|
|
"name": "mydriving-user-api",
|
|
"description": "This is the User API for the MyDriving service",
|
|
"version": "1.0.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/Azure-Samples/openhack-devops-team.git"
|
|
},
|
|
"bugs": "http://github.com/Azure-Samples/openhack-devops-team/issues",
|
|
"dependencies": {
|
|
"body-parser": "^1.18.3",
|
|
"dotenv": "^8.2.0",
|
|
"express": "^4.16.3",
|
|
"express4-tedious": "^0.3.0",
|
|
"morgan": "^1.9.0",
|
|
"swagger-ui-express": "^3.0.10",
|
|
"swaggerize-express": "^4.0.5",
|
|
"swagmock": "1.0.0",
|
|
"tedious": "^2.6.4",
|
|
"trim": "^1.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "6.8.0",
|
|
"is-my-json-valid": "2.20.0",
|
|
"js-yaml": "3.13.1",
|
|
"nyc": "15.0.1",
|
|
"supertest": "4.0.2",
|
|
"swagger-parser": "9.0.1",
|
|
"tap-junit": "^5.0.1",
|
|
"tape": "5.0.0"
|
|
},
|
|
"nyc": {
|
|
"check-coverage": true,
|
|
"per-file": false,
|
|
"lines": 25,
|
|
"statements": 8,
|
|
"functions": 9,
|
|
"branches": 1,
|
|
"reporter": [
|
|
"cobertura",
|
|
"html"
|
|
],
|
|
"require": [],
|
|
"cache": true,
|
|
"all": true,
|
|
"temp-directory": "./reports-tmp",
|
|
"report-dir": "./reports"
|
|
},
|
|
"scripts": {
|
|
"test": "tape 'tests/**/*.js' | tap-junit --output reports --name userprofile-report",
|
|
"test-noreport": "tape 'tests/**/*.js'",
|
|
"cover": "nyc tape -- 'tests/**/*.js' --cov",
|
|
"lint": "eslint .",
|
|
"regenerate": "yo swaggerize:test --framework express --apiPath './config/swagger.json'"
|
|
},
|
|
"generator-swaggerize": {
|
|
"version": "4.1.0"
|
|
},
|
|
"main": "./server"
|
|
}
|