fix(package): modernize package configuration and stabilize ping typings and tests

This commit is contained in:
2026-05-01 21:44:49 +00:00
parent 2632bf2082
commit 1477ceda5d
12 changed files with 7001 additions and 17554 deletions
+14 -14
View File
@@ -3,28 +3,26 @@
"version": "1.0.8",
"private": false,
"description": "A utility for performing ping operations in Node.js environments.",
"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/ --web)",
"build": "(tsbuild --web --allowimplicitany)",
"buildDocs": "(tsdoc)"
"test": "tstest test/",
"build": "tsbuild",
"buildDocs": "tsdoc"
},
"dependencies": {
"@types/ping": "^0.4.1",
"ping": "^0.4.4"
"ping": "^1.0.0"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsbundle": "^2.0.5",
"@gitzone/tsdoc": "^1.1.10",
"@gitzone/tsrun": "^1.2.39",
"@gitzone/tstest": "^1.0.74",
"@pushrocks/tapbundle": "^5.0.3",
"@types/node": "^18.15.11"
"@git.zone/tsbuild": "^4.4.0",
"@git.zone/tstest": "^3.6.3",
"@types/node": "^25.6.0"
},
"browserslist": [
"last 1 chrome versions"
@@ -38,6 +36,8 @@
"dist_ts_web/**/*",
"assets/**/*",
"cli.js",
".smartconfig.json",
"license",
"npmextra.json",
"readme.md"
],
@@ -55,4 +55,4 @@
"type": "git",
"url": "https://code.foss.global/push.rocks/smartping.git"
}
}
}