fix: update missed depts

pull/6/head
cudr 5 years ago
parent afaff1f80a
commit dc65376a37

@ -1,15 +1,5 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"esmodules": false
}
}
],
"@babel/typescript"
],
"presets": ["@babel/preset-env", "@babel/typescript"],
"plugins": [
"@babel/plugin-transform-runtime",
"@babel/proposal-class-properties",

@ -1,11 +1,11 @@
{
"name": "@slate-collaborative/backend",
"version": "0.0.2",
"version": "0.0.3",
"files": [
"lib"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"types": "lib/model.d.ts",
"description": "slate-collaborative bridge",
"repository": {
"type": "git",
@ -25,9 +25,11 @@
"watch": "yarn build:js -w"
},
"dependencies": {
"@slate-collaborative/bridge": "^0.0.2",
"@babel/runtime": "^7.6.3",
"@slate-collaborative/bridge": "^0.0.3",
"automerge": "^0.12.1",
"lodash": "^4.17.15",
"slate": "^0.47.8",
"socket.io": "^2.2.0",
"typescript": "^3.6.3"
},

@ -9,7 +9,7 @@ import { toSync, toJS } from '@slate-collaborative/bridge'
import { getClients, defaultValue, defaultOptions } from './utils'
import { ConnectionOptions } from './model'
class Connection {
export default class Connection {
private io: any
private docSet: any
private connections: { [key: string]: Automerge.Connection<any> }
@ -194,5 +194,3 @@ class Connection {
this.io.close()
}
}
export default Connection

@ -6,6 +6,7 @@
"rootDir": "src",
"baseUrl": "src",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"lib": ["dom", "dom.iterable", "esnext"]
}
}

@ -1,6 +1,6 @@
{
"name": "@slate-collaborative/bridge",
"version": "0.0.2",
"version": "0.0.3",
"files": [
"lib"
],
@ -25,6 +25,8 @@
"test": "jest"
},
"dependencies": {
"automerge": "^0.12.1",
"slate": "^0.47.8",
"typescript": "^3.6.3"
},
"devDependencies": {

@ -1,6 +1,6 @@
{
"name": "@slate-collaborative/client",
"version": "0.0.2",
"version": "0.0.3",
"files": [
"lib"
],
@ -25,7 +25,7 @@
},
"dependencies": {
"@babel/preset-react": "^7.0.0",
"@slate-collaborative/bridge": "^0.0.2",
"@slate-collaborative/bridge": "^0.0.3",
"automerge": "^0.12.1",
"immutable": "^4.0.0-rc.12",
"react": "^16.9.0",

@ -5,8 +5,8 @@
"dependencies": {
"@emotion/core": "^10.0.17",
"@emotion/styled": "^10.0.17",
"@slate-collaborative/backend": "^0.0.2",
"@slate-collaborative/client": "^0.0.2",
"@slate-collaborative/backend": "^0.0.3",
"@slate-collaborative/client": "^0.0.3",
"@types/faker": "^4.1.5",
"@types/jest": "24.0.18",
"@types/node": "12.7.5",

Loading…
Cancel
Save