This commit is contained in:
Rodney Witcher II 2019-03-21 00:10:33 -07:00
commit a34217cc34
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@ to your package.json file in the dependencies section.
### Installation and usage in the Browser
* Install npm & node
* Clone this repo and cd to it.
* `npm bundle` will create dist/dweb_transports_bundle.js
* `npm run build` will create dist/dweb_transports_bundle.js
* Add `<SCRIPT type="text/javascript" src="dweb_transports_bundle.js"></SCRIPT>` to your `<HEAD>`
Then code like this should work.

View File

@ -11,6 +11,7 @@
"url": "https://github.com/internetarchive/dweb-transports/issues"
},
"dependencies": {
"wolkjs": "git://github.com/wolkdb/wolkjs.git#dev",
"canonical-json": "latest",
"cids": "^0.5.7",
"gun": "^0.9.9999991",