stats.. deps
This commit is contained in:
@ -7,6 +7,9 @@ const path = require('path')
|
||||
|
||||
class WsServe extends ServeCommand {
|
||||
execute (options, argv) {
|
||||
const usage = require('lws/lib/usage')
|
||||
usage.defaults.set('an', 'ws')
|
||||
usage.defaults.set('cd4', 'cli')
|
||||
options = {
|
||||
stack: [
|
||||
'lws-log',
|
||||
|
@ -3,6 +3,9 @@ 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')
|
||||
options = Object.assign({
|
||||
moduleDir: path.resolve(__dirname, `../node_modules`),
|
||||
modulePrefix: 'lws-',
|
||||
|
@ -32,7 +32,7 @@
|
||||
"repository": "https://github.com/lwsjs/local-web-server",
|
||||
"author": "Lloyd Brookes <75pound@gmail.com>",
|
||||
"dependencies": {
|
||||
"lws": "^1.0.0-pre2.3",
|
||||
"lws": "^1.0.0-pre2.4",
|
||||
"lws-blacklist": "^0.2.1",
|
||||
"lws-body-parser": "^0.2.1",
|
||||
"lws-compress": "^0.2.1",
|
||||
|
Reference in New Issue
Block a user