aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpukkamustard <pukkamustard@posteo.net>2020-06-05 19:07:49 +0200
committerpukkamustard <pukkamustard@posteo.net>2020-06-05 19:20:04 +0200
commitb2abf771a80ba297e654fc4eed3245fb51f0995f (patch)
tree2b64be21373c3bfc21daeadbb7672bc52e426ad3
parent7063aaed714a4802ddf68d8e25dc6b7cd2119b77 (diff)
move around files
-rw-r--r--package.json5
-rw-r--r--src/base32.js (renamed from base32.js)0
-rw-r--r--src/crypto.js (renamed from eris/crypto.js)0
-rw-r--r--src/eris.js (renamed from eris/index.js)2
4 files changed, 4 insertions, 3 deletions
diff --git a/package.json b/package.json
index d826ce3..0c2dff9 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,9 @@
{
"name": "js-eris",
- "version": "1.0.0",
+ "version": "0.1.0",
"description": "Encoding for Robust Immutable Storage",
- "main": "index.js",
+ "main": "src/eris.js",
+ "exports": "src/eris.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
diff --git a/base32.js b/src/base32.js
index 340602b..340602b 100644
--- a/base32.js
+++ b/src/base32.js
diff --git a/eris/crypto.js b/src/crypto.js
index 17b0f21..17b0f21 100644
--- a/eris/crypto.js
+++ b/src/crypto.js
diff --git a/eris/index.js b/src/eris.js
index 312b670..474f8bc 100644
--- a/eris/index.js
+++ b/src/eris.js
@@ -1,5 +1,5 @@
const crypto = require('./crypto.js')
-const base32 = require('../base32.js')
+const base32 = require('./base32.js')
function ContentAddressableStorage (put, get) {
this.put = put