Skip to content

Commit

Permalink
Switch bundler to bunchee (#190)
Browse files Browse the repository at this point in the history
* Switch bundler to bunchee

* update bundler

* upgrade
  • Loading branch information
huozhi authored Jan 6, 2024
1 parent a6b6004 commit f17c93f
Show file tree
Hide file tree
Showing 4 changed files with 788 additions and 446 deletions.
29 changes: 21 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,25 @@
"name": "vaul",
"version": "0.8.0",
"description": "Drawer component for React.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.tsx",
"dev": "tsup src/index.tsx --watch",
"build": "bunchee",
"dev": "bunchee --watch",
"dev:website": "turbo run dev --filter=website...",
"dev:test": "turbo run dev --filter=test...",
"format": "prettier --write .",
Expand All @@ -35,11 +45,14 @@
"devDependencies": {
"@playwright/test": "^1.37.1",
"@radix-ui/react-dialog": "^1.0.4",
"@types/react": "^18.2.46",
"bunchee": "^4.2.11",
"eslint": "^7.32.0",
"prettier": "^2.5.1",
"typescript": "5.2.2",
"tsup": "^6.4.0",
"turbo": "1.6"
"react": "18.2.0",
"react-dom": "18.2.0",
"turbo": "1.6",
"typescript": "5.2.2"
},
"peerDependencies": {
"react": "^16.8 || ^17.0 || ^18.0",
Expand Down
Loading

0 comments on commit f17c93f

Please sign in to comment.