micro-fame
Advanced tools
Comparing version 0.6.1 to 0.6.2
{ | ||
"name": "micro-fame", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "rest api framework for micro", | ||
@@ -9,3 +9,3 @@ "main": "src/index.js", | ||
"scripts": { | ||
"start": "nodemon --exec babel-node test/index.js", | ||
"dev": "nodemon --exec babel-node test/index.js", | ||
"lint": "eslint src/**/**/*.js", | ||
@@ -12,0 +12,0 @@ "test": "ava test/*-test.js", |
@@ -18,3 +18,3 @@ const micro = require('micro'); | ||
console.log(`Listening to ${address}:${port}`); | ||
resolve({ address, port }); | ||
resolve({ address, port, server }); | ||
}); | ||
@@ -21,0 +21,0 @@ |
@@ -35,3 +35,2 @@ const fs = require('mz/fs'); | ||
for (const p of files) { | ||
console.log(p); | ||
if (p.length - p.lastIndexOf('.js') === 3) { | ||
@@ -38,0 +37,0 @@ await require(path.resolve(loadDir, p)).apply(null, args); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176187
946