Add ESM Module support
This commit is contained in:
16
package.json
16
package.json
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user