UNPKG

@indigonakamoto/rpc-omnilite

Version:

A TypeScript library to make RPC and HTTP REST requests to OmniLite Litecoin Omni Layer.

72 lines (71 loc) 2.08 kB
{ "name": "@indigonakamoto/rpc-omnilite", "version": "1.0.8", "description": "A TypeScript library to make RPC and HTTP REST requests to OmniLite Litecoin Omni Layer. ", "main": "build/index.js", "type": "commonjs", "engines": { "node": ">=10.19.0" }, "types": "build/index.d.ts", "scripts": { "build": "rm -fr build && tsc", "fresh-install": "rm -fr node_modules && rm -f package-lock.json && npm install", "prettier": "prettier -c \"**/*.{md,ts,json}\"", "prettier:build": "prettier -c \"./build/**/*.{js,d.ts}\" --write", "prettier-write": "npm run prettier -- --write", "lint": "eslint --ext .ts ./", "lint:build": "eslint --ext .js ./ --fix", "lint-fix": "npm run lint -- --fix", "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:build && npm run lint:build", "postpublish": "rm -fr build", "snyk-protect": "snyk protect", "prepare": "npm run snyk-protect" }, "repository": { "type": "git", "url": "git+https://github.com/IndigoNakamoto/rpc-omnilite.git" }, "keywords": [ "RPC", "Litecoin", "OmniLite", "Omni" ], "author": "twitter.com/indigo_nakamoto", "license": "MIT", "bugs": { "url": "https://github.com/IndigoNakamoto/rpc-omnilite/issues" }, "homepage": "https://github.com/IndigoNakamoto/rpc-omnilite#readme", "devDependencies": { "@types/mocha": "^7.0.2", "@typescript-eslint/eslint-plugin": "^2.25.0", "@typescript-eslint/parser": "^2.25.0", "eslint": "^6.8.0", "husky": "^4.2.3", "lint-staged": "^10.0.9", "mocha": "^7.1.1", "nock": "^12.0.3", "prettier": "^2.0.2", "ts-node": "^8.8.1", "typescript": "^3.8.3" }, "dependencies": { "rpc-request": "^4.0.9", "snyk": "^1.919.0" }, "directories": { "test": "test" }, "lint-staged": { "*.{ts,json,md}": [ "prettier --write" ], "*.{ts,js}": [ "eslint --fix" ] }, "snyk": true }