Browse Source

fix 'npm run doc'

master
Lloyd Brookes 6 years ago
parent
commit
3164e53bd9
  1. 3
      .gitignore
  2. 1
      lib/cli-app.js
  3. 2
      package.json

3
.gitignore

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

1
lib/cli-app.js

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

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

Loading…
Cancel
Save