149 lines
5.6 KiB
JSON
149 lines
5.6 KiB
JSON
{
|
|
"author": "Richard Moore <me@ricmoo.com>",
|
|
"browser": {
|
|
"./lib.esm/crypto/crypto.js": "./lib.esm/crypto/crypto-browser.js",
|
|
"./lib.esm/providers/provider-ipcsocket.js": "./lib.esm/providers/provider-ipcsocket-browser.js",
|
|
"./lib.esm/providers/ws.js": "./lib.esm/providers/ws-browser.js",
|
|
"./lib.esm/utils/base64.js": "./lib.esm/utils/base64-browser.js",
|
|
"./lib.esm/utils/geturl.js": "./lib.esm/utils/geturl-browser.js",
|
|
"./lib.esm/wordlists/wordlists.js": "./lib.esm/wordlists/wordlists-browser.js"
|
|
},
|
|
"dependencies": {
|
|
"@noble/hashes": "1.1.2",
|
|
"@noble/secp256k1": "1.6.3",
|
|
"aes-js": "4.0.0-beta.3",
|
|
"tslib": "2.4.0",
|
|
"ws": "8.5.0"
|
|
},
|
|
"description": "Ethereum library.",
|
|
"devDependencies": {
|
|
"@rollup/plugin-node-resolve": "13.3.0",
|
|
"@types/mocha": "9.1.1",
|
|
"@types/semver": "7.3.12",
|
|
"c8": "7.12.0",
|
|
"mocha": "10.0.0",
|
|
"rollup": "2.78.1",
|
|
"semver": "7.3.7",
|
|
"typescript": "4.7.4",
|
|
"uglify-js": "3.17.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"flatworm-source": "./src.ts/index.js",
|
|
"import": "./lib.esm/index.js",
|
|
"require": "./lib.commonjs/index.js",
|
|
"types": "./types/index.d.ts"
|
|
},
|
|
"./abi": {
|
|
"flatworm-source": "./src.ts/abi/index.js",
|
|
"import": "./lib.esm/abi/index.js",
|
|
"require": "./lib.commonjs/abi/index.js",
|
|
"types": "./types/abi/index.d.ts"
|
|
},
|
|
"./address": {
|
|
"flatworm-source": "./src.ts/address/index.js",
|
|
"import": "./lib.esm/address/index.js",
|
|
"require": "./lib.commonjs/address/index.js",
|
|
"types": "./types/address/index.d.ts"
|
|
},
|
|
"./constants": {
|
|
"flatworm-source": "./src.ts/constants/index.js",
|
|
"import": "./lib.esm/constants/index.js",
|
|
"require": "./lib.commonjs/constants/index.js",
|
|
"types": "./types/constants/index.d.ts"
|
|
},
|
|
"./contract": {
|
|
"flatworm-source": "./src.ts/contract/index.js",
|
|
"import": "./lib.esm/contract/index.js",
|
|
"require": "./lib.commonjs/contract/index.js",
|
|
"types": "./types/contract/index.d.ts"
|
|
},
|
|
"./crypto": {
|
|
"flatworm-source": "./src.ts/crypto/index.js",
|
|
"import": "./lib.esm/crypto/index.js",
|
|
"require": "./lib.commonjs/crypto/index.js",
|
|
"types": "./types/crypto/index.d.ts"
|
|
},
|
|
"./hash": {
|
|
"flatworm-source": "./src.ts/hash/index.js",
|
|
"import": "./lib.esm/hash/index.js",
|
|
"require": "./lib.commonjs/hash/index.js",
|
|
"types": "./types/hash/index.d.ts"
|
|
},
|
|
"./providers": {
|
|
"flatworm-source": "./src.ts/providers/index.js",
|
|
"import": "./lib.esm/providers/index.js",
|
|
"require": "./lib.commonjs/providers/index.js",
|
|
"types": "./types/providers/index.d.ts"
|
|
},
|
|
"./transaction": {
|
|
"flatworm-source": "./src.ts/transaction/index.js",
|
|
"import": "./lib.esm/transaction/index.js",
|
|
"require": "./lib.commonjs/transaction/index.js",
|
|
"types": "./types/transaction/index.d.ts"
|
|
},
|
|
"./utils": {
|
|
"flatworm-source": "./src.ts/utils/index.js",
|
|
"import": "./lib.esm/utils/index.js",
|
|
"require": "./lib.commonjs/utils/index.js",
|
|
"types": "./types/utils/index.d.ts"
|
|
},
|
|
"./wallet": {
|
|
"flatworm-source": "./src.ts/wallet/index.js",
|
|
"import": "./lib.esm/wallet/index.js",
|
|
"require": "./lib.commonjs/wallet/index.js",
|
|
"types": "./types/wallet/index.d.ts"
|
|
},
|
|
"./wordlists": {
|
|
"flatworm-source": "./src.ts/wordlists/index.js",
|
|
"import": "./lib.esm/wordlists/index.js",
|
|
"require": "./lib.commonjs/wordlists/index.js",
|
|
"types": "./types/wordlistsindex.d.ts"
|
|
}
|
|
},
|
|
"gitHead": "b42107364da74099d983164f4e2f61d5ff1cf6dd",
|
|
"keywords": [
|
|
"ethereum",
|
|
"ethers",
|
|
"ethersjs"
|
|
],
|
|
"license": "MIT",
|
|
"main": "./lib.commonjs/index.js",
|
|
"module": "./lib.esm/index.js",
|
|
"name": "ethers",
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"tag": "beta-exports"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/ethers-io/ethers.js.git"
|
|
},
|
|
"scripts": {
|
|
"_build-clean": "npm run clean && node lib.esm/_admin/update-version-const && npm run build-all && npm run _build-dist",
|
|
"_build-dist": "rollup -c && uglifyjs ./dist/ethers.js -o ./dist/ethers.min.js && uglifyjs ./dist/wordlists-extra.js -o ./dist/wordlists-extra.min.js",
|
|
"_dist-stats": "gzip -k9f -S '.gz' ./dist/ethers.min.js && gzip -k9f -S '.gz' ./dist/wordlists-extra.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js",
|
|
"auto-build": "npm run build -- -w",
|
|
"build": "tsc --project tsconfig.esm.json",
|
|
"build-all": "npm run build && npm run build-commonjs && npm run build-types",
|
|
"build-clean": "npm run clean && npm run build && node lib.esm/_admin/update-version.js && npm run build-all && npm run _build-dist",
|
|
"build-commonjs": "tsc --project tsconfig.commonjs.json && cp ./package-commonjs.json ./lib.commonjs/package.json",
|
|
"build-dist": "npm run build && npm run _build-dist && npm run _dist-stats",
|
|
"build-docs": "echo 'foo'",
|
|
"build-types": "tsc --project tsconfig.types.json",
|
|
"clean": "rm -rf dist lib.esm lib.commonjs types",
|
|
"stats": "echo 'Dependencies' && npm ls --all --omit=dev",
|
|
"test": "npm run test-esm",
|
|
"test-commonjs": "mocha --reporter ./reporter.cjs ./lib.commonjs/_tests/test-*.js",
|
|
"test-coverage": "c8 -o output -r lcov -r text mocha --no-color --reporter ./reporter.cjs ./lib.esm/_tests/test-*.js | tee output/summary.txt",
|
|
"test-esm": "mocha --reporter ./reporter.cjs ./lib.esm/_tests/test-*.js"
|
|
},
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"types": "./types/index.d.ts",
|
|
"version": "6.0.0-beta-exports.7"
|
|
}
|