Use esbuild

This commit is contained in:
Jozef Izso 2025-06-07 17:46:28 +02:00
parent 671f839d7c
commit 3d4ef7027a
Failed to extract signature
4 changed files with 47707 additions and 61000 deletions

View file

@ -9,7 +9,7 @@
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"package": "ncc build --license licenses.txt && eolConverter lf 'dist/*'",
"package": "esbuild lib/main.js --bundle --sourcemap --platform=node --outfile=dist/index.js && eolConverter lf 'dist/*'",
"version": "npm run build && npm run package && git add dist/*",
"test": "jest --ci --reporters=default --reporters=jest-junit",
"jest:updatesnapshot": "jest --updateSnapshot",
@ -53,8 +53,8 @@
"@types/xml2js": "^0.4.14",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vercel/ncc": "^0.38.3",
"eol-converter-cli": "^1.1.0",
"esbuild": "0.25.5",
"eslint": "^8.57.1",
"eslint-import-resolver-typescript": "^3.10.1",
"eslint-plugin-github": "^4.10.2",