UNPKG

json-rpc-peer

Version:
93 lines (92 loc) 2.35 kB
{ "name": "json-rpc-peer", "version": "0.17.0", "license": "ISC", "description": "JSON-RPC 2 transport-agnostic library", "keywords": [ "json", "json-rpc", "jsonrpc", "jsonrpc2", "rpc" ], "homepage": "https://github.com/JsCommunity/json-rpc-peer", "bugs": "https://github.com/JsCommunity/json-rpc-peer/issues", "repository": { "type": "git", "url": "https://github.com/JsCommunity/json-rpc-peer.git" }, "author": { "name": "Julien Fontanet", "email": "julien.fontanet@isonoe.net" }, "preferGlobal": false, "main": "dist/", "bin": {}, "files": [ "dist/" ], "engines": { "node": ">=4" }, "dependencies": { "@babel/runtime": "^7.3.4", "json-rpc-protocol": "^0.13.1", "lodash": "^4.17.4" }, "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.3.4", "@babel/plugin-transform-runtime": "^7.3.4", "@babel/preset-env": "^7.3.4", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.0.1", "babel-jest": "^24.3.1", "babel-plugin-lodash": "^3.3.2", "cross-env": "^5.1.1", "eslint": "^5.3.0", "eslint-config-prettier": "^4.1.0", "eslint-config-standard": "^12.0.0", "eslint-plugin-import": "^2.8.0", "eslint-plugin-node": "^9.1.0", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "husky": "^2.4.0", "jest": "^24.3.1", "lint-staged": "^8.1.5", "prettier": "^1.16.4", "rimraf": "^2.6.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": "yarn run clean", "predev": "npm run prebuild", "prepublishOnly": "npm run build", "pretest": "eslint --ignore-path .gitignore --fix .", "test": "jest" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "jest": { "collectCoverage": true, "testEnvironment": "node", "roots": [ "<rootDir>/src" ], "testRegex": "\\.spec\\.js$" }, "lint-staged": { "*.js": [ "prettier --write", "git add", "eslint --ignore-pattern '!*'", "jest --findRelatedTests --passWithNoTests" ] } }