From 3164e53bd9c5a85e8e55715880c34d5374ae280c Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Sun, 8 Jul 2018 17:08:16 +0100 Subject: [PATCH] fix 'npm run doc' --- .gitignore | 3 +++ lib/cli-app.js | 1 - package.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 70a2466..597876e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ node_modules tmp *bundle.js +.coveralls.yml +.nyc_output +coverage diff --git a/lib/cli-app.js b/lib/cli-app.js index 8c1fcfa..0c7eea9 100644 --- a/lib/cli-app.js +++ b/lib/cli-app.js @@ -1,4 +1,3 @@ -'use strict' const LwsCliApp = require('lws/lib/cli-app') class WsCliApp extends LwsCliApp { diff --git a/package.json b/package.json index 8bcaa56..01c3207 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ }, "scripts": { "test": "test-runner test/*.js", - "docs": "jsdoc2md -p list lib/*.js > doc/api.md; echo", + "docs": "jsdoc2md -p list index.js lib/*.js > doc/api.md; echo", "cover": "nyc --reporter=text-lcov test-runner test/*.js | coveralls" }, "repository": "https://github.com/lwsjs/local-web-server",