@airswap/jsonrpc-client-websocket
Version:
JSON-RPC over WebSockets
55 lines (54 loc) • 1.46 kB
JSON
{
"name": "@airswap/jsonrpc-client-websocket",
"version": "0.0.1",
"description": "JSON-RPC over WebSockets",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/**/*"
],
"scripts": {
"test": "jest --config jestconfig.json",
"coverage": "jest --config jestconfig.json --coverage",
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tsc --noEmit && eslint . --ext .js,.jsx,.ts,.tsx --fix",
"prepublishOnly": "yarn test && yarn run lint",
"prepare": "yarn run build",
"preversion": "yarn run lint",
"version": "yarn run format && git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/airswap/jsonrpc-client-websocket"
},
"keywords": [
"websocket",
"jsonrpc",
"client",
"json",
"rpc"
],
"license": "MIT",
"devDependencies": {
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.4.2",
"jest": "^27.2.1",
"jest-websocket-mock": "^2.2.1",
"mock-socket": "^9.0.3",
"prettier": "^2.4.1",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
},
"dependencies": {
"get-parameter-names": "^0.3.0"
},
"publishConfig": {
"access": "public"
}
}