fix(build): modernize package configuration and simplify tests for the current toolchain

This commit is contained in:
2026-05-01 18:57:42 +00:00
parent e58a54f8c6
commit 831cb6734d
13 changed files with 6899 additions and 4679 deletions
+18 -17
View File
@@ -3,37 +3,36 @@
"version": "1.0.5",
"private": false,
"description": "A library for signing PDF documents.",
"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",
"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/tstest": "^3.6.3",
"@types/node": "^25.6.0",
"@types/pngjs": "^6.0.5"
},
"dependencies": {
"@push.rocks/smartfile": "^11.0.4",
"@push.rocks/smartpdf": "^3.0.16",
"@push.rocks/smartshell": "^3.0.3",
"@signpdf/signer-p12": "^3.1.0",
"@signpdf/signpdf": "^3.1.0"
"@push.rocks/smartpdf": "^4.2.2",
"@signpdf/signer-p12": "^3.3.0",
"@signpdf/signpdf": "^3.3.0"
},
"repository": {
"type": "git",
"url": "https://code.foss.global/push.rocks/smartsign.git"
},
"bugs": {
"url": "https://gitlab.com/push.rocks/smartsign/issues"
"url": "https://code.foss.global/push.rocks/smartsign/issues"
},
"homepage": "https://code.foss.global/push.rocks/smartsign",
"browserslist": [
@@ -48,6 +47,8 @@
"dist_ts_web/**/*",
"assets/**/*",
"cli.js",
".smartconfig.json",
"license",
"npmextra.json",
"readme.md"
],
@@ -61,4 +62,4 @@
"certificate",
"P12 cert"
]
}
}