UNPKG

@alius/rpc

Version:

JSON-RPC 2.0 implementation configured with OpenRPC

82 lines (81 loc) 1.76 kB
{ "name": "@alius/rpc", "version": "1.0.6", "description": "JSON-RPC 2.0 implementation configured with OpenRPC", "author": { "name": "Aleksandras Novikovas", "email": "Aleksandras.Novikovas@gmail.com", "url": "http://www.systemtier.com/" }, "license": "MIT", "type": "module", "repository": { "type": "git", "url": "https://aleksandras-novikovas@bitbucket.org/aleksandras-novikovas/rpc.git" }, "exports": { ".": "./index.js", "./index.js": "./index.js" }, "types": "./index.d.ts", "scripts": { "doc": "npx jsdoc src -c $NODE_PATH/jsdoc-import/jsdoc.json -r -d web/docs", "lint": "npx eslint src test", "test": "npx mocha", "types": "npx tsc ./src/* --declaration --allowJs --emitDeclarationOnly --esModuleInterop --outDir types" }, "keywords": [ "rpc", "jsonrpc", "JSON-RPC", "open-rpc", "OpenRPC" ], "dependencies": { "@alius/exception": "^1.0.5", "@alius/utils": "^1.0.5", "@apidevtools/json-schema-ref-parser": "^10.0.1", "ajv": "^8.12.0", "ajv-formats": "^2.1.1" }, "eslintConfig": { "env": { "es2021": true, "node": true }, "extends": "eslint:recommended", "parserOptions": { "ecmaVersion": 2022, "sourceType": "module" }, "rules": { "indent": [ "error", 2 ], "linebreak-style": [ "error", "unix" ], "quotes": [ "error", "double" ], "semi": [ "error", "always" ], "padded-blocks": [ "error", { "blocks": "never", "classes": "never", "switches": "never" } ] } }, "mocha": { "recursive": true } }