fix(build): modernize package exports, tooling configuration, and test setup
This commit is contained in:
+14
-11
@@ -3,12 +3,15 @@
|
||||
"version": "3.0.4",
|
||||
"private": false,
|
||||
"description": "A module for smart handling of YAML data with support for converting between YAML strings and JavaScript objects.",
|
||||
"exports": {
|
||||
".": "./dist_ts/index.js"
|
||||
},
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "(tstest test/ --web)",
|
||||
"build": "(tsbuild --web --allowimplicitany)"
|
||||
"test": "tstest test/",
|
||||
"build": "tsbuild --web"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -25,21 +28,19 @@
|
||||
"parsing",
|
||||
"stringify"
|
||||
],
|
||||
"author": "Lossless GmbH",
|
||||
"author": "Task Venture Capital GmbH <hello@task.vc>",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://gitlab.com/pushrocks/smartyaml/issues"
|
||||
"url": "https://code.foss.global/push.rocks/smartyaml/issues"
|
||||
},
|
||||
"homepage": "https://code.foss.global/push.rocks/smartyaml",
|
||||
"dependencies": {
|
||||
"yaml": "^2.4.2"
|
||||
"yaml": "^2.8.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@git.zone/tsbuild": "^2.1.61",
|
||||
"@git.zone/tsrun": "^1.2.32",
|
||||
"@git.zone/tstest": "^1.0.71",
|
||||
"@push.rocks/tapbundle": "^5.0.3",
|
||||
"@types/node": "^20.12.7"
|
||||
"@git.zone/tsbuild": "^4.4.0",
|
||||
"@git.zone/tstest": "^3.6.3",
|
||||
"@types/node": "^25.6.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"last 1 chrome versions"
|
||||
@@ -53,7 +54,9 @@
|
||||
"dist_ts_web/**/*",
|
||||
"assets/**/*",
|
||||
"cli.js",
|
||||
".smartconfig.json",
|
||||
"license",
|
||||
"npmextra.json",
|
||||
"readme.md"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user