WIP: expo friendly exports

This commit is contained in:
Hadar 2019-09-10 23:47:19 +03:00
parent 209909ce94
commit 5d352d90c9
2 changed files with 3 additions and 1 deletions

2
browser.js Normal file
View File

@ -0,0 +1,2 @@
module.exports.Gun = require('./gun.js')
module.exports.SEA = require('./sea.js')

View File

@ -3,7 +3,7 @@
"version": "1.0.0-beta.8",
"description": "A realtime, decentralized, offline-first, graph data synchronization engine.",
"main": "index.js",
"browser": "gun.js",
"browser": "browser.js",
"scripts": {
"start": "node examples/http.js",
"https": "HTTPS_KEY=test/https/server.key HTTPS_CERT=test/https/server.crt npm start",