Update peerDependencies to accept React 18 or 19, and update @types/react to ^19.0.0 for type compatibility. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
54 lines
1.5 KiB
JSON
54 lines
1.5 KiB
JSON
{
|
|
"name": "@lilith/websocket-client",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "WebSocket client library with React hooks for real-time features",
|
|
"author": {
|
|
"name": "QuinnFTW",
|
|
"email": "TransQuinnFTW@pm.me",
|
|
"url": "https://github.com/transquinnftw"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/transquinnftw/lilith-platform.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/transquinnftw/lilith-platform/issues"
|
|
},
|
|
"homepage": "https://github.com/transquinnftw/lilith-platform#readme",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "tsc",
|
|
"test": "vitest run --passWithNoTests",
|
|
"lint": "eslint . --ext ts,tsx"
|
|
},
|
|
"dependencies": {
|
|
"socket.io-client": "^4.7.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0.0 || ^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@lilith/config": "workspace:*",
|
|
"@lilith/configs": "^1.0.3",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.51.0",
|
|
"@typescript-eslint/parser": "^8.51.0",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-import": "^2.29.0",
|
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"typescript": "^5.0.0",
|
|
"vite": "^5.0.0",
|
|
"vitest": "^4.0.16"
|
|
}
|
|
}
|