diff --git a/package.json b/package.json index e788159..b14dfab 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,6 @@ "description": "The Build component for the Sandstone CLI.", "type": "module", "exports": "./lib/index.js", - "bin": { - "sand-build": "./lib/index.js" - }, "scripts": { "test": "echo NO TESTS", "build": "tsc" diff --git a/src/index.ts b/src/index.ts index d2dc999..26d5d8e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -591,7 +591,4 @@ function logError(err?: Error, file?: string) { } } -process.on('unhandledRejection', logError) -process.on('uncaughtException', logError) - -buildProject(JSON.parse(process.env.CLI_OPTIONS as string), JSON.parse(process.env.PROJECT_FOLDERS as string)); \ No newline at end of file +buildProject(JSON.parse(process.env.CLI_OPTIONS as string), JSON.parse(process.env.PROJECT_FOLDERS as string) as ProjectFolders); \ No newline at end of file