Add ESM Module support

This commit is contained in:
Fabian Stamm
2023-10-14 16:54:53 +02:00
parent 6c65d2c83d
commit 08fabf5bf8
7 changed files with 1454 additions and 8 deletions

View File

@ -1,12 +1,13 @@
{
"name": "@hibas123/nodelogging",
"version": "3.1.3",
"packageManager": "yarn@3.6.4",
"version": "3.1.5",
"description": "",
"main": "out/index.js",
"types": "out/index.d.ts",
"scripts": {
"prepublish": "npm run build",
"build": "tsc",
"build": "tsc && tsc -p tsconfig.esm.json",
"watch-ts": "tsc --watch",
"watch-js": "nodemon out/test.js",
"watch": "concurrently npm:watch-*",
@ -23,17 +24,18 @@
"files": [
"src/",
"out/",
"esm/",
"tsconfig.json",
"readme.md"
],
"devDependencies": {
"@types/node": "^15.3.0",
"concurrently": "^6.1.0",
"nodemon": "^2.0.7",
"typescript": "^4.2.4"
"@types/node": "^20.8.6",
"concurrently": "^8.2.1",
"nodemon": "^3.0.1",
"typescript": "^5.2.2"
},
"dependencies": {
"@hibas123/logging": "^3.1.2",
"@hibas123/utils": "^2.2.18"
}
}
}