Ditch tsup switch to unbuild
This commit is contained in:
parent
2f5ead6d68
commit
884b70332b
1 changed files with 6 additions and 5 deletions
11
package.json
11
package.json
|
|
@ -4,22 +4,23 @@
|
|||
"description": "Source text manipulation and span rendering utilities",
|
||||
"author": "Yura Dupyn <yura@dupyn.com>",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"main": "./dist/index.js",
|
||||
"main": "./dist/index.cjs",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.js"
|
||||
"require": "./dist/index.cjs"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsup src/index.ts --format cjs,esm --dts",
|
||||
"build": "unbuild",
|
||||
"stub": "unbuild --stub",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tsup": "^8.5.1",
|
||||
"typescript": "^5.4.0"
|
||||
"typescript": "^5.4.0",
|
||||
"unbuild": "^3.6.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue