|
|
@ -4,8 +4,10 @@ const path = require('path') |
|
|
|
class LocalWebServer extends Lws { |
|
|
|
create (options) { |
|
|
|
const usage = require('lws/lib/usage') |
|
|
|
usage.defaults.set('an', 'ws') |
|
|
|
usage.defaults.set('cd4', 'api') |
|
|
|
usage.defaults |
|
|
|
.set('an', 'ws') |
|
|
|
.set('av', require('../package').version) |
|
|
|
.set('cd4', 'api') |
|
|
|
options = Object.assign({ |
|
|
|
moduleDir: path.resolve(__dirname, `../node_modules`), |
|
|
|
modulePrefix: 'lws-', |
|
|
|