feat(build): modernize package configuration, tooling, and tests for ESM-compatible releases

This commit is contained in:
2026-05-02 09:51:34 +00:00
parent f9873b008b
commit 2051335d91
12 changed files with 7768 additions and 4117 deletions
+14 -11
View File
@@ -3,33 +3,34 @@
"private": false,
"version": "3.0.5",
"description": "A TypeScript library providing enhanced timeout functions compatible with async/await patterns.",
"exports": {
".": "./dist_ts/index.js"
},
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"scripts": {
"test": "(tstest test/)",
"build": "(tsbuild --web --allowimplicitany && tsbundle npm)",
"test": "tstest test/",
"build": "tsbuild --web",
"buildDocs": "tsdoc"
},
"repository": {
"type": "git",
"url": "https://code.foss.global/push.rocks/smartdelay.git"
},
"author": "Lossless GmbH",
"author": "Task Venture Capital GmbH <hello@task.vc>",
"license": "MIT",
"bugs": {
"url": "https://gitlab.com/pushrocks/smartdelay/issues"
},
"homepage": "https://code.foss.global/push.rocks/smartdelay",
"dependencies": {
"@push.rocks/smartpromise": "^4.0.2"
"@push.rocks/smartpromise": "^4.2.4"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.66",
"@gitzone/tsbundle": "^2.0.8",
"@gitzone/tsrun": "^1.2.42",
"@gitzone/tstest": "^1.0.74",
"@push.rocks/tapbundle": "^5.0.8",
"@types/node": "^20.4.1"
"@git.zone/tsbuild": "^4.4.0",
"@git.zone/tsdoc": "^2.0.3",
"@git.zone/tstest": "^3.6.3",
"@types/node": "^25.6.0"
},
"files": [
"ts/**/*",
@@ -40,6 +41,8 @@
"dist_ts_web/**/*",
"assets/**/*",
"cli.js",
".smartconfig.json",
"license",
"npmextra.json",
"readme.md"
],
@@ -59,4 +62,4 @@
"promise",
"timeout management"
]
}
}