UNPKG

@depay/web3-mock

Version:

JavaScript library to mock web3 responses either by emulating web3 wallets or web3 RPC requests.

83 lines (82 loc) 2.64 kB
{ "name": "@depay/web3-mock", "moduleName": "Web3Mock", "version": "15.3.0", "description": "JavaScript library to mock web3 responses either by emulating web3 wallets or web3 RPC requests.", "main": "./dist/umd/index.js", "module": "./dist/esm/index.js", "files": [ "dist" ], "scripts": { "build": "rm -rf dist && rollup -c rollup.module.config.js && rollup -c rollup.module.evm.config.js && rollup -c rollup.module.svm.config.js && npx rollup --config rollup.bundle.config.js", "lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"", "lint:fix": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix", "test:cypress": "yarn cypress run", "test:playwright": "npx playwright test", "test:cypress:debug": "yarn cypress run --headed --no-exit", "test:jest": "npx jest --no-cache --forceExit", "test": "yarn test:jest && yarn test:cypress && test:playwright" }, "repository": "git@github.com:DePayFi/web3-mock.git", "keywords": [ "web3", "mock", "testing", "blockchain", "wallets", "crypto" ], "author": "depay.com", "license": "MIT", "bugs": { "url": "https://github.com/DePayFi/web3-mock/issues" }, "homepage": "https://depay.com", "private": false, "dependencies": { "@depay/solana-web3.js": "^1.98.0", "@depay/web3-blockchains": "^9.7.9", "ethers": "^5.7.1" }, "engines": { "node": ">=16" }, "devDependencies": { "@babel/core": "^7.12.9", "@babel/plugin-transform-runtime": "^7.18.6", "@babel/preset-env": "^7.12.7", "@babel/runtime": "^7.18.6", "@depay/solana-web3.js": "^1.98.0", "@depay/web3-blockchains": "^9.7.9", "@depay/web3-client": "^10.18.16", "@depay/web3-tokens": "^10.3.0", "@playwright/test": "^1.24.0", "@rollup/plugin-commonjs": "^18.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^11.2.1", "@rollup/plugin-replace": "^2.4.2", "@rollup/plugin-sucrase": "^3.1.0", "@walletconnect/client": "^1.7.8", "babel-loader": "^8.2.2", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.7.0", "cypress": "^12.9.0", "eslint": "^7.15.0", "eslint-plugin-import": "^2.22.1", "eslint-webpack-plugin": "^2.5.4", "ethers": "^5.7.1", "jest-environment-jsdom": "^28.1.2", "node-fetch": "^2.6.9", "regenerator-runtime": "^0.13.9", "rollup": "^2.34.2", "rollup-plugin-jscc": "^2.0.0", "rollup-plugin-polyfill-node": "^0.8.0", "util": "^0.12.5", "viem": "^1.0.7", "wagmi": "^1.2.0", "web3": "^1.6.1", "web3-eth-contract": "^1.6.1", "webpack": "^5.73.0" } }