From a1b022672311d0d08248e0bb58f96232e7363531 Mon Sep 17 00:00:00 2001 From: Fernando Muzaber Date: Sun, 17 Dec 2023 16:18:51 -0300 Subject: [PATCH] gh-pages add --- package-lock.json | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 8356504..bd0bd04 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "github-auth", "version": "1.0.0", + "hasInstallScript": true, "license": "MIT", "dependencies": { "bcrypt": "^5.1.1", diff --git a/package.json b/package.json index 9b1d8f4..4ce1a32 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "test": "echo \"Error: no test specified\" && exit 1", "start": "node .", "dev": "nodemon .", - "build": "esbuild src/server.js --bundle --outdir=build", + "build": "esbuild src/server.js --bundle --format=cjs --platform=node --outdir=build", "postinstall": "npm run build" }, "engines": {