diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/package.json b/package.json index 1842a11..f73bc27 100644 --- a/package.json +++ b/package.json @@ -2,12 +2,25 @@ "name": "tui-lib", "version": "0.0.4", "description": "terminal ui library", - "main": "index.js", + "type": "module", "repository": "https://notabug.org/towerofnix/tui-lib.git", "author": "Florrie <towerofnix@gmail.com>", "license": "GPL-3.0", "dependencies": { + "natural-orderby": "^3.0.2", "wcwidth": "^1.0.1", "word-wrap": "^1.2.3" + }, + "exports": { + ".": "./index.js", + "./ui": "./ui/index.js", + "./ui/controls": "./ui/controls/index.js", + "./ui/dialogs": "./ui/dialogs/index.js", + "./ui/presentation": "./ui/presentation/index.js", + "./ui/primitives": "./ui/primitives/index.js", + "./util/ansi": "./util/ansi.js", + "./util/interfaces": "./util/interfaces/index.js", + "./util/telchars": "./util/telchars.js", + "./util/unichars": "./util/unichars.js" } } |