UNPKG

eth-block-tracker

Version:

A block tracker for the Ethereum blockchain. Keeps track of the latest block.

78 lines (77 loc) 2.54 kB
{ "name": "eth-block-tracker", "version": "8.1.0", "description": "A block tracker for the Ethereum blockchain. Keeps track of the latest block.", "repository": { "type": "git", "url": "https://github.com/MetaMask/eth-block-tracker.git" }, "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/" ], "scripts": { "build": "tsc --project tsconfig.build.json", "build:clean": "rimraf dist && yarn build", "lint": "yarn lint:eslint && yarn lint:misc --check", "lint:eslint": "eslint . --cache --ext js,ts", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", "lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern", "prepublishOnly": "yarn build:clean && yarn lint && yarn test", "setup": "yarn install && yarn allow-scripts", "test": "jest", "test:watch": "jest --watch" }, "dependencies": { "@metamask/eth-json-rpc-provider": "^2.1.0", "@metamask/safe-event-emitter": "^3.0.0", "@metamask/utils": "^8.1.0", "json-rpc-random-id": "^1.0.1", "pify": "^5.0.0" }, "devDependencies": { "@lavamoat/allow-scripts": "^2.3.1", "@metamask/auto-changelog": "^3.0.0", "@metamask/eslint-config": "^12.0.0", "@metamask/eslint-config-jest": "^12.0.0", "@metamask/eslint-config-nodejs": "^12.0.0", "@metamask/eslint-config-typescript": "^12.0.0", "@metamask/json-rpc-engine": "^7.1.1", "@types/jest": "^29.1.2", "@types/json-rpc-random-id": "^1.0.1", "@types/node": "^17.0.23", "@types/pify": "^5.0.1", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", "eslint": "^8.21.0", "eslint-config-prettier": "^8.1.0", "eslint-import-resolver-typescript": "^2.7.1", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^39.9.1", "eslint-plugin-n": "^15.7.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.1.2", "prettier": "^2.7.1", "prettier-plugin-packagejson": "^2.2.11", "rimraf": "^3.0.2", "ts-jest": "^29.1.1", "ts-node": "^10.7.0", "typescript": "~4.8.4" }, "engines": { "node": ">=16.20 || ^18.16" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "lavamoat": { "allowScripts": { "@lavamoat/preinstall-always-fail": false } } }