Skip to content

Commit

Permalink
fix: exported types
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Correa Casablanca <[email protected]>
  • Loading branch information
castarco committed Sep 11, 2023
1 parent 404f30b commit 20d7af7
Show file tree
Hide file tree
Showing 5 changed files with 380 additions and 434 deletions.
48 changes: 29 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,36 @@
{
"name": "@beautiful-tree/react",
"version": "0.1.1",
"version": "0.1.2",
"private": false,
"author": "Andres Correa Casablanca <[email protected]>",
"license": "MIT",
"main": "./dist/beautiful-tree.cjs",
"module": "./dist/beautiful-tree.mjs",
"types": "./dist/beautiful-tree.d.ts",
"types": "./dist/beautiful-tree.d.cts",
"exports": {
".": {
"types": "./dist/beautiful-tree.d.ts",
"import": "./dist/beautiful-tree.mjs",
"require": "./dist/beautiful-tree.cjs",
"types": "./dist/beautiful-tree.d.cts",
"import": {
"types": "./dist/beautiful-tree.d.mts",
"default": "./dist/beautiful-tree.mjs"
},
"require": {
"types": "./dist/beautiful-tree.d.cts",
"default": "./dist/beautiful-tree.cjs"
},
"browser": "./dist/beautiful-tree.iife.js",
"default": "./dist/beautiful-tree.umd.js"
},
"./min": {
"types": "./dist/beautiful-tree.d.ts",
"import": "./dist/beautiful-tree.min.mjs",
"require": "./dist/beautiful-tree.min.cjs",
"types": "./dist/beautiful-tree.d.cts",
"import": {
"types": "./dist/beautiful-tree.d.mts",
"default": "./dist/beautiful-tree.min.mjs"
},
"require": {
"types": "./dist/beautiful-tree.d.cts",
"default": "./dist/beautiful-tree.min.cjs"
},
"browser": "./dist/beautiful-tree.min.iife.js",
"default": "./dist/beautiful-tree.min.umd.js"
}
Expand All @@ -40,22 +52,20 @@
},
"devDependencies": {
"@coderspirit/eslint-config": "^1.2.1",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.3",
"@storybook/addon-essentials": "^7.4.0",
"@storybook/addon-interactions": "^7.4.0",
"@storybook/addon-links": "^7.4.0",
"@storybook/blocks": "^7.4.0",
"@storybook/react": "^7.4.0",
"@storybook/react-vite": "^7.4.0",
"@storybook/addon-essentials": "^7.4.1",
"@storybook/addon-interactions": "^7.4.1",
"@storybook/addon-links": "^7.4.1",
"@storybook/blocks": "^7.4.1",
"@storybook/react": "^7.4.1",
"@storybook/react-vite": "^7.4.1",
"@storybook/testing-library": "^0.2.0",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.6.0",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/parser": "^6.6.0",
"@typescript-eslint/parser": "^6.7.0",
"@vitest/coverage-v8": "^0.34.4",
"eslint": "^8.49.0",
"eslint-plugin-react": "^7.33.2",
Expand All @@ -67,9 +77,9 @@
"publint": "^0.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^3.29.0",
"rollup": "^3.29.1",
"rollup-plugin-dts": "^5.3.1",
"storybook": "^7.4.0",
"storybook": "^7.4.1",
"typescript": "^5.2.2",
"vitest": "^0.34.4"
},
Expand Down
Loading

0 comments on commit 20d7af7

Please sign in to comment.