Skip to content

Commit

Permalink
chore: use tsup insteadof unbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
dmZhan committed Jun 13, 2024
1 parent c72ef79 commit acf7c81
Show file tree
Hide file tree
Showing 5 changed files with 476 additions and 19 deletions.
2 changes: 1 addition & 1 deletion bin/cli.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env node
'use strict'

import '../dist/cli.mjs'
import '../dist/cli.js'
13 changes: 0 additions & 13 deletions build.config.ts

This file was deleted.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
Expand All @@ -42,8 +42,8 @@
"logo.png"
],
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"build": "tsup",
"dev": "tsup --watch",
"lint": "eslint .",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
Expand All @@ -66,8 +66,8 @@
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.11.1",
"taze": "^0.13.7",
"tsup": "^8.1.0",
"typescript": "^5.4.5",
"unbuild": "^2.0.0",
"vite": "^5.2.10",
"vitest": "^1.5.2"
},
Expand Down
Loading

0 comments on commit acf7c81

Please sign in to comment.