Skip to content

Commit

Permalink
Merge pull request #112 from ndom91/ndom91/esm-only-build
Browse files Browse the repository at this point in the history
fix: bump react-select - fix esm import
  • Loading branch information
ndom91 authored Dec 20, 2023
2 parents fc5758f + 9df72b4 commit 8a34fda
Show file tree
Hide file tree
Showing 2 changed files with 1,713 additions and 1,645 deletions.
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "react-timezone-select",
"version": "3.0.2",
"version": "3.1.0",
"description": "Usable, dynamic React Timezone Select",
"scripts": {
"dev": "concurrently \"tsup src/index.tsx --format esm --watch\" \"cd example && pnpm dev\"",
"prepublishOnly": "pnpm run build",
"postpublish": "pnpm run build:example && npm run deploy",
"build": "tsup src/index.tsx --format cjs,esm --clean --dts",
"build": "tsup src/index.tsx --format esm --clean --dts",
"build:example": "cd example && pnpm run build",
"deploy": "gh-pages -d example/dist",
"pretest": "pnpm run build",
Expand Down Expand Up @@ -36,20 +36,18 @@
"package.json"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
"import": "./dist/index.js"
}
},
"peerDependencies": {
"react": "^18 || ^17.0.1 || ^16",
"react-dom": "^18 || ^17.0.1 || ^16",
"react-select": "^5.7.0"
"react-select": "^5.7.3"
},
"dependencies": {
"spacetime": "^7.4.8",
Expand Down
Loading

0 comments on commit 8a34fda

Please # to comment.