fix 'npm run doc'

This commit is contained in:
Lloyd Brookes
2018-07-08 17:08:16 +01:00
parent 9aa7aa3b09
commit 3164e53bd9
3 changed files with 4 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
node_modules
tmp
*bundle.js
.coveralls.yml
.nyc_output
coverage

View File

@ -1,4 +1,3 @@
'use strict'
const LwsCliApp = require('lws/lib/cli-app')
class WsCliApp extends LwsCliApp {

View File

@ -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",