Add ESModule support
This commit is contained in:
18
package.json
18
package.json
@ -1,12 +1,13 @@
|
||||
{
|
||||
"name": "@hibas123/logging",
|
||||
"version": "2.4.5",
|
||||
"version": "2.5.4",
|
||||
"description": "",
|
||||
"main": "out/index.js",
|
||||
"types": "out/index.d.ts",
|
||||
"module": "esm/index.js",
|
||||
"scripts": {
|
||||
"prepublish": "tsc",
|
||||
"build": "tsc",
|
||||
"prepublish": "npm run build",
|
||||
"build": "tsc && tsc -p tsconfig.esm.json",
|
||||
"dev": "nodemon -e ts --exec ts-node src/test.ts"
|
||||
},
|
||||
"repository": {
|
||||
@ -18,16 +19,17 @@
|
||||
"files": [
|
||||
"src/",
|
||||
"out/",
|
||||
"esm/",
|
||||
"tsconfig.json",
|
||||
"readme.md"
|
||||
],
|
||||
"devDependencies": {
|
||||
"concurrently": "^5.1.0",
|
||||
"nodemon": "^2.0.3",
|
||||
"ts-node": "^8.8.2",
|
||||
"typescript": "^3.8.3"
|
||||
"concurrently": "^5.3.0",
|
||||
"nodemon": "^2.0.4",
|
||||
"ts-node": "^9.0.0",
|
||||
"typescript": "^4.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hibas123/utils": "^2.2.4"
|
||||
"@hibas123/utils": "^2.2.10"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user