An open API service indexing awesome lists of open source software.

https://github.com/gkjohnson/sharedb-builds

Prebuilt versions of the ShareDB Client and OT Types
https://github.com/gkjohnson/sharedb-builds

collaboration packages prebuilt precompiled share sharedb webpack

Last synced: 4 months ago
JSON representation

Prebuilt versions of the ShareDB Client and OT Types

Awesome Lists containing this project

README

          

# sharedb-builds

[![npm version](https://badge.fury.io/js/%40gkjohnson%2Fsharedb-builds.svg)](https://www.npmjs.com/package/@gkjohnson/sharedb-builds)

Repo housing pre-compiled builds of [ShareDB](https://github.com/share/sharedb) and basic [OT Types](https://github.com/ottypes) for the browser using WebPack because by default ShareDB requires WebPack or Browserify to use.

## Use
```html

console.log(window.ShareDB) // It's here!
console.log(window.ShareDBypes.map.text) // This too!

```

## Building
Run `npm run build` to minify and build every entry file in `/build`

Run `npm run update` to update all packages and create a new build

## Folder Structure
### /build
Webpack entry files for the OT types and ShareDB client

### /dist
Minified, browser loadable files for each file in `/build`