Browse Source

stats.. deps

master
Lloyd Brookes 8 years ago
parent
commit
4dc29ecd19
  1. 3
      lib/command/serve.js
  2. 3
      lib/local-web-server.js
  3. 2
      package.json

3
lib/command/serve.js

@ -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
lib/local-web-server.js

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

2
package.json

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

Loading…
Cancel
Save