88 lines
2.1 KiB
JSON
88 lines
2.1 KiB
JSON
{
|
|
"name": "@y/websocket-server",
|
|
"version": "0.1.0",
|
|
"description": "Backend for y-websocket",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"funding": {
|
|
"type": "GitHub Sponsors ❤",
|
|
"url": "https://github.com/sponsors/dmonad"
|
|
},
|
|
"scripts": {
|
|
"start": "node ./src/server.cjs",
|
|
"dist": "rm -rf dist && rollup -c && tsc",
|
|
"lint": "standard && tsc",
|
|
"test": "npm run lint",
|
|
"preversion": "npm run lint && npm run dist && test -e dist/src/server.d.ts && test -e dist/server.cjs"
|
|
},
|
|
"bin": {
|
|
"y-websocket-server": "./src/server.js",
|
|
"y-websocket": "./src/server.js"
|
|
},
|
|
"files": [
|
|
"dist/*",
|
|
"src/*"
|
|
],
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
"./utils": {
|
|
"module": "./src/utils.js",
|
|
"import": "./src/utils.js",
|
|
"require": "./dist/utils.cjs",
|
|
"types": "./dist/src/utils.d.ts",
|
|
"default": "./src/utils.js"
|
|
},
|
|
"./callback": {
|
|
"module": "./src/callback.js",
|
|
"import": "./src/callback.js",
|
|
"require": "./dist/callback.cjs",
|
|
"types": "./dist/src/callback.d.ts",
|
|
"default": "./src/callback.js"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/yjs/y-websocket-server.git"
|
|
},
|
|
"keywords": [
|
|
"Yjs"
|
|
],
|
|
"author": "Kevin Jahns <kevin.jahns@protonmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/yjs/y-websocket-server/issues"
|
|
},
|
|
"homepage": "https://github.com/yjs/y-websocket-server#readme",
|
|
"standard": {
|
|
"ignore": [
|
|
"/dist",
|
|
"/node_modules"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"lib0": "^0.2.52",
|
|
"lodash.debounce": "^4.0.8",
|
|
"y-protocols": "^1.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/lodash.debounce": "^4.0.9",
|
|
"@types/node": "^18.15.0",
|
|
"@types/ws": "^8.5.10",
|
|
"rollup": "^3.19.1",
|
|
"standard": "^12.0.1",
|
|
"typescript": "^4.9.5",
|
|
"yjs": "^13.5.0"
|
|
},
|
|
"peerDependencies": {
|
|
"yjs": "^13.5.6"
|
|
},
|
|
"optionalDependencies": {
|
|
"ws": "^6.2.1",
|
|
"y-leveldb": "^0.1.0"
|
|
},
|
|
"engines": {
|
|
"npm": ">=8.0.0",
|
|
"node": ">=16.0.0"
|
|
}
|
|
}
|