Skip to content

Commit

Permalink
refactor: change exports
Browse files Browse the repository at this point in the history
!break
  • Loading branch information
keindev committed Jan 3, 2022
1 parent 2133e71 commit ed2e830
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@
],
"types": "./lib/index.d.ts",
"type": "module",
"exports": "./lib/index.js",
"exports": {
".": "./lib/index.js",
"./lib/ProgressBar": "./lib/ProgressBar.js",
"./lib/Task": "./lib/Task.js",
"./lib/TaskTree": "./lib/TaskTree.js",
"./lib/Theme": "./lib/Theme.js"
},
"repository": {
"type": "git",
"url": "https://github.com/keindev/tasktree.git"
Expand Down
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
export { default } from './TaskTree';
export { Task } from './Task';
export { ProgressBar } from './ProgressBar';
export { Theme } from './Theme';

0 comments on commit ed2e830

Please sign in to comment.