feat(package): modernize package configuration, tooling, and documentation

This commit is contained in:
2026-05-01 22:21:02 +00:00
parent 6efab60a6f
commit 0b1c20386d
13 changed files with 7883 additions and 4282 deletions
+16 -13
View File
@@ -3,27 +3,28 @@
"version": "1.0.3",
"private": false,
"description": "A module that formats bytes and milliseconds into human-readable strings.",
"exports": {
".": "./dist_ts/index.js"
},
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"type": "module",
"author": "Task Venture Capital GmbH",
"author": "Task Venture Capital GmbH <hello@task.vc>",
"license": "MIT",
"scripts": {
"test": "(tstest test/ --web)",
"build": "(tsbuild --web --allowimplicitany)",
"buildDocs": "(tsdoc)"
"test": "tstest test/",
"build": "tsbuild --web",
"buildDocs": "tsdoc"
},
"devDependencies": {
"@git.zone/tsbuild": "^2.1.25",
"@git.zone/tsbundle": "^2.0.5",
"@git.zone/tsrun": "^1.2.46",
"@git.zone/tstest": "^1.0.44",
"@push.rocks/tapbundle": "^5.0.15",
"@types/node": "^20.8.7"
"@git.zone/tsbuild": "^4.4.0",
"@git.zone/tsdoc": "^2.0.3",
"@git.zone/tstest": "^3.6.3",
"@types/node": "^25.6.0"
},
"dependencies": {
"pretty-bytes": "^6.1.1",
"pretty-ms": "^9.0.0"
"pretty-bytes": "^7.1.0",
"pretty-ms": "^9.3.0"
},
"repository": {
"type": "git",
@@ -45,6 +46,8 @@
"dist_ts_web/**/*",
"assets/**/*",
"cli.js",
".smartconfig.json",
"license",
"npmextra.json",
"readme.md"
],
@@ -59,4 +62,4 @@
"typescript",
"npm package"
]
}
}