Replaced tsconfig.build.json with tsdown configuration for simplified builds.

This commit is contained in:
2025-09-28 21:30:57 -04:00
parent d09d8e4ffd
commit c76da2bf5c
20 changed files with 826 additions and 868 deletions
+11 -8
View File
@@ -7,6 +7,9 @@
"type": "git",
"url": "git+https://github.com/jakejarvis/rdapper.git"
},
"bugs": {
"url": "https://github.com/jakejarvis/rdapper/issues"
},
"author": {
"name": "Jake Jarvis",
"email": "jake@jarv.is",
@@ -14,6 +17,7 @@
},
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
@@ -26,13 +30,12 @@
"dist"
],
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && tsc -p tsconfig.build.json",
"test": "npm run clean && tsc -p tsconfig.json && vitest run",
"test:watch": "npm run clean && tsc -p tsconfig.json && vitest",
"test:coverage": "npm run clean && tsc -p tsconfig.json && vitest run --coverage",
"test:smoke": "SMOKE=1 npm run test",
"lint": "biome check --write",
"build": "tsdown",
"dev": "tsdown --watch",
"typecheck": "tsc --noEmit",
"test": "vitest",
"test:run": "vitest run",
"lint": "biome check",
"prepublishOnly": "npm run build"
},
"dependencies": {
@@ -42,7 +45,7 @@
"@biomejs/biome": "2.2.4",
"@types/node": "24.5.2",
"@types/psl": "1.1.3",
"@vitest/coverage-v8": "^3.2.4",
"tsdown": "0.15.5",
"typescript": "5.9.2",
"vitest": "^3.2.4"
},