bevis-block-dev
Advanced tools
Comparing version
#!/usr/bin/env node | ||
var runApp = require('../server/app'); | ||
var inputArguments = process.argv.slice(2); | ||
var options = {}; | ||
var options = {port: 8080}; | ||
@@ -18,7 +18,6 @@ while (inputArguments.length > 0) { | ||
break; | ||
case '-bt': | ||
case '--bt': | ||
options.bt = argVal; | ||
case '-p': | ||
case '--port': | ||
options.port = parseInt(argVal); | ||
break; | ||
} | ||
@@ -25,0 +24,0 @@ } |
{ | ||
"name": "bevis-block-dev", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "BEViS block develoment toolkit", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,3 +23,5 @@ var express = require('express'); | ||
app.listen(3000); | ||
app.listen(options.port); | ||
console.log('App was started at 0.0.0.0:' + options.port) | ||
}; |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
19377
4.21%9
12.5%511
0.2%1
-50%26
Infinity%