From a6e3107b2c663ac61dc5329d22e0a9b541435c66 Mon Sep 17 00:00:00 2001 From: Vilsol Date: Fri, 31 May 2024 11:55:33 +0300 Subject: [PATCH] fix: use correct start script --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e6d7957..f6dd65f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@restorecommerce/ldap-srv", "version": "1.0.0", "description": "Restorecommerce LDAP service", - "main": "lib/start.js", + "main": "lib/start.cjs", "author": "n-fuse GmbH", "repository": { "type": "git", @@ -22,7 +22,7 @@ "build:clean": "rimraf lib", "build:tsc": "esbuild ./src/start.ts --bundle --platform=node --outfile=lib/start.cjs --minify --tree-shaking=true --sourcemap=inline", "dev": "cross-env NODE_ENV=development nodemon --watch './src/**/*.ts' --exec node --loader ts-node/esm ./src/start.ts", - "start": "node lib/start.js", + "start": "node lib/start.cjs", "test": "vitest", "lint": "eslint" },