rpc-utils
Version:
JSON-RPC 2.0 utilities
71 lines (70 loc) • 1.58 kB
JSON
{
"name": "rpc-utils",
"version": "0.6.2",
"author": "3Box Labs",
"license": "(Apache-2.0 OR MIT)",
"homepage": "https://github.com/ceramicnetwork/js-rpc-utils#readme",
"keywords": [
"json",
"rpc"
],
"repository": {
"type": "git",
"url": "https://github.com/ceramicnetwork/js-rpc-utils"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./*": "./dist/*.js"
},
"files": [
"dist"
],
"engines": {
"node": ">=14.14"
},
"sideEffects": false,
"scripts": {
"build": "del dist && tsc --emitDeclarationOnly && swc src -d ./dist",
"docs": "typedoc --tsconfig tsconfig.docs.json",
"lint": "eslint src test --fix",
"test": "jest",
"prepare": "yarn build",
"prepublishOnly": "package-check"
},
"dependencies": {
"nanoid": "^3.3.1"
},
"devDependencies": {
"@skypack/package-check": "^0.2.2",
"@swc/cli": "^0.1.56",
"@swc/core": "^1.2.160",
"@swc/jest": "^0.2.20",
"@types/jest": "^27.4.1",
"@types/nanoid": "^3.0.0",
"abort-controller": "^3.0.0",
"del-cli": "^4.0.1",
"eslint": "^8.11.0",
"eslint-config-3box": "^0.4.1",
"jest": "^27.5.1",
"prettier": "^2.6.0",
"typedoc": "^0.22.13",
"typedoc-plugin-markdown": "^3.11.14",
"typescript": "^4.6.2"
},
"jest": {
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.(t|j)s$": [
"@swc/jest"
]
}
}
}