Updated linting dependencies

This commit is contained in:
Alejandro Celaya
2018-12-31 18:23:47 +01:00
parent 019ce2e8ed
commit 03f409a803
10 changed files with 595 additions and 239 deletions

View File

@@ -102,7 +102,8 @@ measureFileSizesBeforeBuild(paths.appBuild)
process.exit(1);
}
)
.then(zipDist);
.then(zipDist)
.catch((err) => console.error(err));
// Create the production build and print the deployment instructions.
function build(previousFileSizes) {

View File

@@ -41,7 +41,7 @@ if (!checkRequiredFiles([ paths.appHtml, paths.appIndexJs ])) {
// Tools like Cloud9 rely on this.
const FALLBACK_PORT = 3000;
const DEFAULT_PORT = parseInt(process.env.PORT, 10) || FALLBACK_PORT;
const DEFAULT_PORT = parseInt(process.env.PORT) || FALLBACK_PORT;
const HOST = process.env.HOST || '0.0.0.0';
if (process.env.HOST) {