« get me outta code hell

tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json25
1 files changed, 21 insertions, 4 deletions
diff --git a/package.json b/package.json
index f07f4d1..6f9d524 100644
--- a/package.json
+++ b/package.json
@@ -1,12 +1,29 @@
 {
   "name": "tui-lib",
-  "version": "0.3.3",
+  "version": "0.4.1",
   "description": "terminal ui library",
-  "main": "index.js",
-  "repository": "https://notabug.org/towerofnix/tui-lib.git",
-  "author": "Florrie <towerofnix@gmail.com>",
+  "type": "module",
+  "repository": {
+    "type": "git",
+    "url": "https://nebula.ed1.club/git/tui-lib/"
+  },
+  "author": "Nebula <qznebula@protonmail.com>",
   "license": "GPL-3.0",
   "dependencies": {
+    "natural-orderby": "^3.0.2",
     "wcwidth": "^1.0.1"
+  },
+  "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/exception": "./util/exception.js",
+    "./util/interfaces": "./util/interfaces/index.js",
+    "./util/telchars": "./util/telchars.js",
+    "./util/unichars": "./util/unichars.js"
   }
 }