fix(build): modernize package configuration, dependencies, and test setup for current toolchain compatibility

This commit is contained in:
2026-05-01 18:53:46 +00:00
parent 983618487f
commit 8785a88a74
12 changed files with 7781 additions and 81 deletions
+16 -12
View File
@@ -3,27 +3,29 @@
"version": "3.0.3",
"private": false,
"description": "A module for handling SMTP operations such as sending emails via SMTP or sendmail transport.",
"exports": {
".": "./dist_ts/index.js"
},
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"type": "module",
"author": "Lossless GmbH",
"author": "Task Venture Capital GmbH <hello@task.vc>",
"license": "MIT",
"scripts": {
"test": "(tstest test/)",
"build": "(tsbuild --web --allowimplicitany)",
"test": "tstest test/",
"build": "tsbuild",
"buildDocs": "tsdoc"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.65",
"@gitzone/tstest": "^1.0.73",
"@pushrocks/qenv": "^5.0.2",
"@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.6.4"
"@git.zone/tsbuild": "^4.4.0",
"@git.zone/tstest": "^3.6.3",
"@push.rocks/qenv": "^6.1.4",
"@types/node": "^25.6.0"
},
"dependencies": {
"@pushrocks/smartmail": "^1.0.21",
"@types/nodemailer": "^6.4.5",
"nodemailer": "^6.7.7"
"@push.rocks/smartmail": "^2.2.1",
"@types/nodemailer": "^8.0.0",
"nodemailer": "^8.0.7"
},
"browserslist": [
"last 1 chrome versions"
@@ -37,6 +39,8 @@
"dist_ts_web/**/*",
"assets/**/*",
"cli.js",
".smartconfig.json",
"license",
"npmextra.json",
"readme.md"
],
@@ -56,4 +60,4 @@
"type": "git",
"url": "https://code.foss.global/push.rocks/smartsmtp.git"
}
}
}