Comparing version 0.1.6 to 0.1.7
@@ -9,3 +9,7 @@ var fs = require('fs'); | ||
var DEFAULT_HTTP_PORT = 8080; | ||
var serve = serveStatic('www', {'index': ['index.html', 'index.htm']}); | ||
var folder = '' | ||
if(fs.existsSync("./www")) { | ||
folder = "www" | ||
} | ||
var serve = serveStatic(folder, {'index': ['index.html', 'index.htm']}); | ||
var mockCordvaJS = '' | ||
@@ -12,0 +16,0 @@ mockCordvaJS += 'var socket = io(location.origin);' |
{ | ||
"name": "mobileui", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "MobileUI is a simple and easy NPM package to install UI Components for web mobile apps using HTML, CSS and JavaScript.", | ||
@@ -5,0 +5,0 @@ "main": "./bin/mobileui", |
24207
490