express-file-api
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -172,2 +172,8 @@ #!/usr/bin/env node | ||
console.log(`[${options.basedir}]:${address.port}`) | ||
}); | ||
}); | ||
process.on("SIGTERM",()=>{ | ||
server.close(()=>{ | ||
process.exit(0); | ||
}) | ||
}) |
@@ -154,1 +154,6 @@ #!/usr/bin/env node | ||
}); | ||
process.on("SIGTERM", function () { | ||
server.close(function () { | ||
process.exit(0); | ||
}); | ||
}); |
{ | ||
"name": "express-file-api", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Quickly boot up an express server using the file-system", | ||
@@ -22,4 +22,4 @@ "license": "ISC", | ||
"bin": { | ||
"fe": "dist/bin/fe.js", | ||
"express-file-api": "dist/bin/fe.js" | ||
"express-file-api": "dist/bin/fe.js", | ||
"fe": "dist/bin/fe.js" | ||
}, | ||
@@ -33,3 +33,4 @@ "main": "dist/lib/ExpressBootStap/ExpressBootstrap.js", | ||
"scripts": { | ||
"test": "jest" | ||
"test": "jest", | ||
"build":"tsc" | ||
}, | ||
@@ -36,0 +37,0 @@ "dependencies": { |
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
224707
1292