Fix YPERSISTENCE -- allowing y-leveldb persistence

This commit is contained in:
Kevin Jahns
2020-07-10 02:39:44 +02:00
parent 5b758e2691
commit f6943f33af
5 changed files with 252 additions and 8 deletions

View File

@@ -15,7 +15,7 @@
"dist": "rm -rf dist && rollup -c && tsc",
"lint": "standard && tsc",
"test": "npm run lint",
"preversion": "npm run lint && npm run dist"
"preversion": "npm run lint && npm run dist && test -e dist/src/y-websocket.d.ts && test -e dist/y-websocket.cjs"
},
"bin": {
"y-websocket-server": "./bin/server.js"
@@ -46,6 +46,7 @@
},
"dependencies": {
"lib0": "^0.2.31",
"y-leveldb": "^0.1.0",
"y-protocols": "^1.0.0"
},
"devDependencies": {