From e0bf7994a0469263a05301186569ed0e82b683cc Mon Sep 17 00:00:00 2001 From: Kuku Ruyuk Date: Sat, 1 Oct 2022 21:29:44 +0800 Subject: [PATCH] Update app --- .env.example | 2 +- .gitignore | 2 -- package.json | 8 ++++---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.env.example b/.env.example index d11baa3..c8751dc 100644 --- a/.env.example +++ b/.env.example @@ -18,7 +18,7 @@ RABBITMQ_SERVER= UPLOADS_DIRECTORY= MAIL_HOST= -MAil_PORT= +MAIL_PORT= MAIL_ADDRESS= MAIL_PASSWORD= diff --git a/.gitignore b/.gitignore index 13fdc61..46890a8 100644 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,3 @@ node_modules/ package-lock.json /.vscode - -consumer/ diff --git a/package.json b/package.json index c145471..46ba179 100644 --- a/package.json +++ b/package.json @@ -6,11 +6,11 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "nodemon ./src/server.js", - "prod": "node ./src/server.js", + "prod": "NODE_ENV=production node ./src/server.js", "consume": "node ./consumer/consume.js", - "lint": "npx eslint ./src", - "migrate": "node-pg-migrate", - "fix": "npx eslint ./src --fix" + "lint": "eslint ./src", + "lint:fix": "eslint ./src --fix", + "migrate": "node-pg-migrate" }, "repository": { "type": "git",