rpc-bitcoin
Advanced tools
Comparing version
@@ -7,2 +7,22 @@ { | ||
], | ||
"overrides": [ | ||
{ | ||
"files": ["*.js"], | ||
"rules": { | ||
"@typescript-eslint/no-var-requires": "off" | ||
} | ||
}, | ||
{ | ||
"files": ["./build/index.js"], | ||
"rules": { | ||
"no-prototype-builtins": "off" | ||
} | ||
}, | ||
{ | ||
"files": ["./build/**/*.js"], | ||
"rules": { | ||
"@typescript-eslint/camelcase": "off" | ||
} | ||
} | ||
], | ||
"env": { | ||
@@ -9,0 +29,0 @@ "node": true |
{ | ||
"name": "rpc-bitcoin", | ||
"version": "1.10.0", | ||
"version": "1.11.0", | ||
"description": "A TypeScript library to make RPC and HTTP REST requests to Bitcoin Core", | ||
@@ -13,8 +13,9 @@ "main": "build/index.js", | ||
"build": "tsc", | ||
"install": "npm run build", | ||
"prettier": "prettier -c *.{js,md,ts,json} **/*.{js,md,ts,json}", | ||
"prettier": "prettier -c **/*.{js,md,ts,json}", | ||
"prettier-write": "npm run prettier -- --write", | ||
"lint": "eslint --ext .ts ./", | ||
"lint": "eslint --ext .ts,.js ./", | ||
"lint-fix": "npm run lint -- --fix", | ||
"test": "mocha -r ts-node/register --full-trace --ui tdd --bail --extension ts" | ||
"test": "mocha -r ts-node/register --full-trace --ui tdd --bail --extension ts", | ||
"prepublishOnly": "npm run prettier && npm run lint && npm run build && npm run prettier-write && npm run lint-fix", | ||
"postpublish": "rm -fr build" | ||
}, | ||
@@ -47,3 +48,3 @@ "repository": { | ||
"dependencies": { | ||
"rpc-request": "^3.0.1" | ||
"rpc-request": "^3.1.0" | ||
}, | ||
@@ -50,0 +51,0 @@ "directories": { |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
572955
26.28%28
64.71%8780
38.7%0
-100%Updated