switch to tsdown

This commit is contained in:
Joel Wetzell
2026-06-03 22:17:08 -05:00
parent 0ffd2e9623
commit b7fc4d2733
30 changed files with 923 additions and 64 deletions
+9 -11
View File
@@ -2,22 +2,19 @@
"name": "@jwetzell/rttrp",
"version": "0.1.0",
"description": "",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:types": "tsc -p tsconfig.types.json",
"build": "tsdown",
"prepublishOnly": "npm run build",
"lint:check": "eslint ./src",
"format:check": "prettier ./ --check",
@@ -44,6 +41,7 @@
"globals": "17.6.0",
"prettier": "3.8.3",
"rimraf": "6.1.3",
"tsdown": "0.22.1",
"typescript": "5.9.3",
"typescript-eslint": "8.59.3"
}