json-rpc-protocol
Version:
JSON-RPC 2 protocol messages parsing and formatting
79 lines (78 loc) • 1.8 kB
JSON
{
"name": "json-rpc-protocol",
"version": "0.13.2",
"license": "ISC",
"description": "JSON-RPC 2 protocol messages parsing and formatting",
"keywords": [
"json",
"json-rpc",
"jsonrpc",
"jsonrpc2",
"rpc"
],
"homepage": "https://github.com/JsCommunity/json-rpc-protocol",
"bugs": "https://github.com/JsCommunity/json-rpc-protocol/issues",
"repository": {
"type": "git",
"url": "https://github.com/JsCommunity/json-rpc-protocol.git"
},
"author": {
"name": "Julien Fontanet",
"email": "julien.fontanet@isonoe.net"
},
"preferGlobal": false,
"main": "dist/",
"typings": "dist/index.d.ts",
"bin": {},
"files": [
"dist/"
],
"engines": {
"node": ">=4"
},
"dependencies": {
"make-error": "^1.3.0"
},
"devDependencies": {
"cross-env": "^5.0.0",
"dependency-check": "^3.1.0",
"husky": "^1.1.1",
"jest": "^23.1.0",
"rimraf": "^2.6.1",
"ts-jest": "^23.10.4",
"tslint": "^5.10.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.1.1"
},
"scripts": {
"build": "cross-env NODE_ENV=production tsc",
"dev": "cross-env NODE_ENV=development tsc --watch",
"dev-test": "jest --bail --watch",
"lint": "tslint --project tsconfig.json && tsc --noEmit",
"pretest": "npm run lint",
"posttest": "dependency-check ./package.json",
"prebuild": "rimraf dist/",
"predev": "npm run prebuild",
"prepare": "npm run build",
"test": "jest"
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testRegex": "\\.spec\\.ts$",
"moduleFileExtensions": [
"js",
"ts"
]
},
"husky": {
"hooks": {
"commit-msg": "npm run test"
}
}
}