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
- Host: GitHub
- URL: https://github.com/gkjohnson/sharedb-builds
- Owner: gkjohnson
- Created: 2017-07-22T18:28:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-02T02:13:51.000Z (over 8 years ago)
- Last Synced: 2025-03-27T22:48:40.146Z (12 months ago)
- Topics: collaboration, packages, prebuilt, precompiled, share, sharedb, webpack
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sharedb-builds
[](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`