mirror of
https://github.com/jwetzell/rttrp-js.git
synced 2026-09-04 21:59:01 +00:00
switch to tsdown
This commit is contained in:
+9
-11
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user