From 6f9ca9e0673ef1ade8dc5464336b1721c3fd7908 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Fri, 26 Jul 2019 20:56:13 +0200 Subject: [PATCH] Added package and commands for generating documentation and upgraded mocha --- seasoned_api/package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/seasoned_api/package.json b/seasoned_api/package.json index dfc9297..8b2db1b 100644 --- a/seasoned_api/package.json +++ b/seasoned_api/package.json @@ -12,6 +12,9 @@ "coverage": "cross-env SEASONED_CONFIG=conf/test.json NODE_PATH=. nyc mocha --recursive test && nyc report --reporter=text-lcov | coveralls", "lint": "./node_modules/.bin/eslint src/", "update": "cross-env SEASONED_CONFIG=conf/development.json NODE_PATH=. node src/plex/updateRequestsInPlex.js", + "docs": "yarn apiDocs; yarn classDocs", + "apiDocs": "", + "classDocs": "./script/generate-class-docs.sh" }, "dependencies": { "axios": "^0.18.0", @@ -20,9 +23,8 @@ "cross-env": "~5.1.4", "express": "~4.16.0", "jsonwebtoken": "^8.0.1", - "km-moviedb": "^0.2.13", - "mongoose": "~5.0.11", "km-moviedb": "^0.2.12", + "mongoose": "~5.0.11", "node-cache": "^4.1.1", "python-shell": "^0.5.0", "request": "^2.85.0", @@ -31,11 +33,12 @@ }, "devDependencies": { "coveralls": "^3.0.0", + "documentation": "^12.0.3", "eslint": "^4.9.0", "eslint-config-airbnb-base": "^12.1.0", "eslint-plugin-import": "^2.8.0", "istanbul": "^0.4.5", - "mocha": "^5.0.4", + "mocha": "^6.2.0", "mocha-lcov-reporter": "^1.3.0", "nyc": "^11.6.0", "raven": "^2.4.2",