Skip to content

Commit 86304c5

Browse files
committed
fix bug declaration file name
1 parent 20dbe9d commit 86304c5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alnthea/react-tailwind-modal",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "A fully animated and customizable modal component for React using Tailwind CSS v4.",
55
"license": "MIT",
66
"author": "AlnThea",
@@ -13,7 +13,8 @@
1313
],
1414
"scripts": {
1515
"dev": "vite",
16-
"build": "vite build && tsc --project tsconfig.lib.json",
16+
"build": "vite build && tsc --project tsconfig.lib.json && npm run fix-dts",
17+
"fix-dts": "mv dist/Modal.d.ts dist/react-tailwind-modal.d.ts || move dist\\Modal.d.ts dist\\react-tailwind-modal.d.ts",
1718
"lint": "eslint .",
1819
"preview": "vite preview"
1920
},

0 commit comments

Comments
 (0)