jsonrpc-websocket-client
Version:
JSON-RPC 2 over WebSocket
94 lines (93 loc) • 2.32 kB
JSON
{
"name": "jsonrpc-websocket-client",
"version": "0.7.2",
"license": "ISC",
"description": "JSON-RPC 2 over WebSocket",
"keywords": [
"json",
"json-rpc",
"jsonrpc",
"jsonrpc2",
"rpc",
"websocket"
],
"homepage": "https://github.com/JsCommunity/jsonrpc-websocket-client",
"bugs": "https://github.com/JsCommunity/jsonrpc-websocket-client/issues",
"repository": {
"type": "git",
"url": "https://github.com/JsCommunity/jsonrpc-websocket-client.git"
},
"author": {
"name": "Julien Fontanet",
"email": "julien.fontanet@isonoe.net"
},
"preferGlobal": false,
"main": "dist/",
"bin": {},
"files": [
"dist/"
],
"browserslist": ">2%",
"engines": {
"node": ">=10"
},
"dependencies": {
"isomorphic-ws": "^4.0.1",
"iterable-backoff": "^0.1.0",
"json-rpc-peer": "^0.17.0",
"make-error": "^1.3.0",
"promise-toolbox": "^0.20.0",
"ws": "^8.3.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"cross-env": "^7.0.3",
"eslint": "^7",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-compat": "^4.0.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.1",
"husky": "^4",
"jest": "^27.3.1",
"lint-staged": "^12.1.2",
"prettier": "^2.4.1",
"rimraf": "^3.0.2"
},
"scripts": {
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
"clean": "rimraf dist/",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"dev-test": "jest --bail --watch",
"prebuild": "npm run clean",
"predev": "npm run clean",
"prepublishOnly": "npm run build",
"pretest": "eslint --ignore-path .gitignore --fix .",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"testRegex": "\\.spec\\.js$"
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --ignore-pattern '!*'",
"jest --findRelatedTests --passWithNoTests"
],
"*.md": [
"prettier --write"
]
}
}