Browse Source

more tweaking

Joeri Exelmans 1 year ago
parent
commit
127b61f640
5 changed files with 11 additions and 17 deletions
  1. 11 0
      index.ts
  2. 0 8
      lib/index.ts
  3. 0 4
      lib/util/index.ts
  4. 0 2
      package.json
  5. 0 3
      tsconfig.json

+ 11 - 0
index.ts

@@ -0,0 +1,11 @@
+export * from "./lib/delta_parser";
+export * from "./lib/delta_registry";
+export * from "./lib/delta";
+export * from "./lib/graph_state";
+export * from "./lib/types";
+export * from "./lib/version";
+
+export * from "./lib/util/buffer_xor";
+export * from "./lib/util/dfs";
+export * from "./lib/util/permutations";
+export * from "./lib/util/test_helpers";

+ 0 - 8
lib/index.ts

@@ -1,8 +0,0 @@
-export * from "./delta_parser";
-export * from "./delta_registry";
-export * from "./delta";
-export * from "./graph_state";
-export * from "./types";
-export * from "./version";
-
-export * from "./util";

+ 0 - 4
lib/util/index.ts

@@ -1,4 +0,0 @@
-export * from "./buffer_xor";
-export * from "./dfs";
-export * from "./permutations";
-export * from "./test_helpers";

+ 0 - 2
package.json

@@ -1,8 +1,6 @@
 {
 	"name": "onion-core",
 	"sideEffects": false,
-	"main": "lib/index.js",
-	"types": "lib/index.d.ts",
 	"dependencies": {
 		"buffer": "^6.0.3",
 		"crypto-browserify": "^3.12.0",

+ 0 - 3
tsconfig.json

@@ -2,9 +2,6 @@
   "compilerOptions": {
     "types": ["mocha", "node"],
     "target": "es6",
-    "paths": {
-      "onion/*": ["./lib/*"],
-    },
     "sourceMap": true,
     "noImplicitThis": true,
     "strictBindCallApply": true,