Skip to content

Commit

Permalink
Revert "Swap bundler (emilkowalski#297)"
Browse files Browse the repository at this point in the history
This reverts commit 60d7131.
  • Loading branch information
huozhi committed Jan 14, 2024
1 parent 84fbfd7 commit 6f73d0b
Show file tree
Hide file tree
Showing 3 changed files with 659 additions and 392 deletions.
24 changes: 17 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,32 @@
"name": "sonner",
"version": "1.3.0",
"description": "An opinionated toast component for React.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"types": "./dist/index.d.ts",
"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 .",
"test": "playwright test"
"test": "playwright test",
"prepublishOnly": "rm -rf dist && pnpm build"
},
"keywords": [
"react",
Expand All @@ -40,10 +50,10 @@
"@playwright/test": "^1.30.0",
"@types/node": "^18.11.13",
"@types/react": "^18.0.26",
"bunchee": "^4.2.11",
"prettier": "^2.8.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tsup": "^6.4.0",
"turbo": "1.6",
"typescript": "^4.8.4"
},
Expand Down
Loading

0 comments on commit 6f73d0b

Please sign in to comment.