79 lines
2.9 KiB
JSON
79 lines
2.9 KiB
JSON
{
|
|
"name": "web3-eth",
|
|
"version": "4.9.0",
|
|
"description": "Web3 module to interact with the Ethereum blockchain and smart contracts.",
|
|
"main": "./lib/commonjs/index.js",
|
|
"module": "./lib/esm/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/types/index.d.ts",
|
|
"import": "./lib/esm/index.js",
|
|
"require": "./lib/commonjs/index.js"
|
|
}
|
|
},
|
|
"repository": "https://github.com/ChainSafe/web3.js",
|
|
"author": "ChainSafe Systems",
|
|
"license": "LGPL-3.0",
|
|
"engines": {
|
|
"node": ">=14",
|
|
"npm": ">=6.12.0"
|
|
},
|
|
"files": [
|
|
"lib/**/*",
|
|
"src/**/*"
|
|
],
|
|
"scripts": {
|
|
"clean": "rimraf dist && rimraf lib",
|
|
"prebuild": "yarn clean",
|
|
"build": "concurrently --kill-others-on-fail \"yarn:build:*(!check)\"",
|
|
"build:cjs": "tsc --build tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./lib/commonjs/package.json",
|
|
"build:esm": "tsc --build tsconfig.esm.json && echo '{\"type\": \"module\"}' > ./lib/esm/package.json",
|
|
"build:types": "tsc --build tsconfig.types.json",
|
|
"build:check": "node -e \"require('./lib')\"",
|
|
"lint": "eslint --cache --cache-strategy content --ext .ts .",
|
|
"lint:fix": "eslint --fix --ext .js,.ts .",
|
|
"format": "prettier --write '**/*'",
|
|
"test": "jest --config=./test/unit/jest.config.js",
|
|
"test:coverage:unit": "jest --config=./test/unit/jest.config.js --coverage=true --coverage-reporters=text",
|
|
"test:ci": "jest --coverage=true --coverage-reporters=json --verbose",
|
|
"test:e2e:mainnet": "jest --config=./test/e2e/jest.config.js --forceExit",
|
|
"test:e2e:sepolia": "jest --config=./test/e2e/jest.config.js --forceExit",
|
|
"test:watch": "npm test -- --watch",
|
|
"test:unit": "jest --config=./test/unit/jest.config.js",
|
|
"test:integration": "jest --config=./test/integration/jest.config.js --runInBand",
|
|
"test:coverage:integration": "jest --config=./test/integration/jest.config.js --runInBand --forceExit --coverage=true --coverage-reporters=text",
|
|
"test:e2e:electron": "npx cypress run --headless --browser electron",
|
|
"test:e2e:chrome": "npx cypress run --headless --browser chrome",
|
|
"test:e2e:firefox": "npx cypress run --headless --browser firefox"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^28.1.6",
|
|
"@typescript-eslint/eslint-plugin": "^5.30.7",
|
|
"@typescript-eslint/parser": "^5.30.7",
|
|
"eslint": "^8.20.0",
|
|
"eslint-config-base-web3": "0.1.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"jest": "^29.7.0",
|
|
"jest-extended": "^3.0.1",
|
|
"prettier": "^2.7.1",
|
|
"ts-jest": "^29.1.1",
|
|
"typescript": "^4.7.4",
|
|
"web3-providers-http": "^4.2.0"
|
|
},
|
|
"dependencies": {
|
|
"setimmediate": "^1.0.5",
|
|
"web3-core": "^4.6.0",
|
|
"web3-errors": "^1.3.0",
|
|
"web3-eth-abi": "^4.2.4",
|
|
"web3-eth-accounts": "^4.2.1",
|
|
"web3-net": "^4.1.0",
|
|
"web3-providers-ws": "^4.0.8",
|
|
"web3-rpc-methods": "^1.3.0",
|
|
"web3-types": "^1.8.0",
|
|
"web3-utils": "^4.3.1",
|
|
"web3-validator": "^2.0.6"
|
|
},
|
|
"gitHead": "07993314c5db2dfaedb51bf1243c99568b6e070f"
|
|
}
|