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