UNPKG

@lunch-money/ethereum-to-lunch-money

Version:

A wrapper around Ethereum APIs for enabling Lunch Money to gather information about a user's wallet.

91 lines (90 loc) 2.46 kB
{ "name": "@lunch-money/ethereum-to-lunch-money", "packageManager": "yarn@4.6.0", "authors": [ "Max Dumas <maltor124@gmail.com>", "JP Shipherd <jp@lunchmoney.app>" ], "bugs": { "url": "https://github.com/lunch-money/ethereum-to-lunch-money/issues" }, "homepage": "https://github.com/lunch-money/ethereum-to-lunch-money#README", "version": "2.0.0", "license": "MIT", "keywords": [ "lunch money", "ethereum", "budgeting" ], "description": "A wrapper around Ethereum APIs for enabling Lunch Money to gather information about a user's wallet.", "repository": { "type": "git", "url": "git+https://github.com/lunch-money/ethereum-to-lunch-money.git" }, "main": "dist/cjs/src/main.js", "module": "dist/mjs/src/main.js", "exports": { ".": { "import": "./dist/mjs/src/main.js", "require": "./dist/cjs/src/main.js" } }, "typesVersions": { "*": { "main.d.ts": [ "dist/mjs/src/main.d.ts" ] } }, "files": [ "dist/**/*" ], "type": "commonjs", "scripts": { "clean": "rm -rf dist", "build": "yarn clean && npx tsc -p tsconfig.build-mjs.json && npx tsc -p tsconfig.build-cjs.json && ./postbuild", "lint": "eslint '{src,test}/**/*.{js,ts,tsx}' --fix", "test": "tsx node_modules/mocha/lib/cli/cli --recursive --extension ts", "test-live": "npx ts-node --project tsconfig.build-cjs.json bin/get-balances.ts", "prepare": "husky install", "scenarios": "node run-scenarios.mjs" }, "devDependencies": { "@types/chai": "^5.0.1", "@types/mocha": "^10.0.10", "@types/node": "^16.18.125", "@types/node-fetch": "^2.6.13", "@types/sinon": "^17.0.3", "@typescript-eslint/eslint-plugin": "^8.22.0", "@typescript-eslint/parser": "^8.22.0", "chai": "^5.1.2", "dotenv": "^16.5.0", "eslint": "^8.57.0", "eslint-config-prettier": "^10.0.1", "eslint-plugin-prettier": "^5.2.3", "husky": "^9.1.7", "lint-staged": "^15.4.3", "mocha": "^11.1.0", "prettier": "^3.4.2", "sinon": "^19.0.2", "tsc": "^2.0.4", "tsx": "^4.19.2", "typescript": "^4.9.5" }, "engines": { "node": "^12.20.0 || ^14.17.1 || >=16.0.0" }, "lint-staged": { "*.{js,ts,tsx}": [ "eslint --fix" ] }, "dependencies": { "@mycrypto/eth-scan": "^3.5.3", "ethers": "^6.13.5" }, "types": "./dist/cjs/src/main.d.ts", "directories": { "test": "test" } }