yjs-backend/package.json
2025-04-05 12:10:15 +02:00

84 lines
1.9 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.js",
"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": {
"import": "./src/utils.js",
"require": "./dist/utils.cjs",
"types": "./dist/src/utils.d.ts",
"default": "./src/utils.js"
},
"./callback": {
"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.102",
"y-protocols": "^1.0.5"
},
"devDependencies": {
"@types/node": "^18.15.0",
"@types/ws": "^8.5.10",
"rollup": "^3.19.1",
"standard": "^17.1.2",
"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"
}
}