feat: migrate to esm

This commit is contained in:
2023-03-16 01:58:13 +01:00
parent fd740b3091
commit 4df19e8c20
512 changed files with 3016 additions and 2222 deletions

View File

@@ -2,6 +2,7 @@
"name": "@openstapps/logger",
"description": "A cli logger with colors, loglevels and the possibility to use a transport system for errors",
"version": "2.1.0",
"type": "module",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/logger.git",
"author": "Karl-Philipp Wulfert <krlwlfrt@gmail.com>",
@@ -12,10 +13,9 @@
],
"main": "./lib/logger.js",
"scripts": {
"build": "npm run lint && npm run compile",
"build": "rimraf lib && tsc",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
"check-configuration": "openstapps-configuration",
"compile": "rimraf lib && tsc",
"documentation": "typedoc --name \"@openstapps/logger\" --includeVersion --out docs --readme README.md --listInvalidSymbolLinks --entryPointStrategy expand src",
"lint": "eslint --ext .ts src/",
"postversion": "npm run changelog",
@@ -25,7 +25,6 @@
"test": "nyc mocha 'test/**/*.spec.ts'"
},
"dependencies": {
"@types/node": "18.15.3",
"@types/nodemailer": "6.4.7",
"chalk": "4.1.2",
"flatted": "3.2.7",
@@ -40,6 +39,7 @@
"@types/chai-as-promised": "7.1.5",
"@types/chai-spies": "1.0.3",
"@types/mocha": "10.0.1",
"@types/node": "18.15.3",
"@typescript-eslint/eslint-plugin": "5.49.0",
"@typescript-eslint/parser": "5.49.0",
"chai": "4.3.7",
@@ -56,8 +56,8 @@
"prettier": "2.8.3",
"rimraf": "4.4.0",
"ts-node": "10.9.1",
"typedoc": "0.22.18",
"typescript": "4.4.4"
"typedoc": "0.23.26",
"typescript": "4.8.4"
},
"nyc": {
"all": true,