2022-09-05 23:14:43 +03:00
{
"author" : "Richard Moore <me@ricmoo.com>" ,
2022-09-27 10:45:27 +03:00
"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" ,
2023-02-13 18:53:47 +03:00
"./lib.esm/wordlists/wordlists.js" : "./lib.esm/wordlists/wordlists-browser.js" ,
"@adraffy/ens-normalize" : "@adraffy/ens-normalize/xnf"
2022-09-27 10:45:27 +03:00
} ,
2022-09-05 23:14:43 +03:00
"dependencies" : {
2023-02-02 12:05:47 +03:00
"@adraffy/ens-normalize" : "1.8.9" ,
2022-09-05 23:14:43 +03:00
"@noble/hashes" : "1.1.2" ,
2023-02-03 11:28:22 +03:00
"@noble/secp256k1" : "1.7.1" ,
2022-09-27 10:45:27 +03:00
"aes-js" : "4.0.0-beta.3" ,
2022-09-05 23:14:43 +03:00
"tslib" : "2.4.0" ,
"ws" : "8.5.0"
} ,
2023-02-03 06:03:45 +03:00
"description" : "A complete and compact Ethereum library, for dapps, wallets and any other tools." ,
2022-09-05 23:14:43 +03:00
"devDependencies" : {
"@rollup/plugin-node-resolve" : "13.3.0" ,
"@types/mocha" : "9.1.1" ,
2022-09-27 10:45:27 +03:00
"@types/semver" : "7.3.12" ,
2022-09-05 23:14:43 +03:00
"c8" : "7.12.0" ,
"mocha" : "10.0.0" ,
"rollup" : "2.78.1" ,
2022-09-27 10:45:27 +03:00
"semver" : "7.3.7" ,
2023-02-02 12:05:47 +03:00
"typescript" : "4.9.5" ,
2022-09-05 23:14:43 +03:00
"uglify-js" : "3.17.0"
} ,
"engines" : {
"node" : ">=14.0.0"
} ,
2023-02-04 11:26:34 +03:00
"ethereum" : "donations.ethers.eth" ,
2022-09-05 23:14:43 +03:00
"exports" : {
"." : {
"import" : "./lib.esm/index.js" ,
"require" : "./lib.commonjs/index.js" ,
"types" : "./types/index.d.ts"
} ,
"./abi" : {
2023-02-19 06:18:42 +03:00
"types" : "./types/abi/index.d.ts" ,
2022-09-05 23:14:43 +03:00
"import" : "./lib.esm/abi/index.js" ,
2023-02-19 06:18:42 +03:00
"require" : "./lib.commonjs/abi/index.js"
2022-09-05 23:14:43 +03:00
} ,
"./address" : {
2023-02-19 06:18:42 +03:00
"types" : "./types/address/index.d.ts" ,
2022-09-05 23:14:43 +03:00
"import" : "./lib.esm/address/index.js" ,
2023-02-19 06:18:42 +03:00
"require" : "./lib.commonjs/address/index.js"
2022-09-05 23:14:43 +03:00
} ,
"./constants" : {
2023-02-19 06:18:42 +03:00
"types" : "./types/constants/index.d.ts" ,
2022-09-05 23:14:43 +03:00
"import" : "./lib.esm/constants/index.js" ,
2023-02-19 06:18:42 +03:00
"require" : "./lib.commonjs/constants/index.js"
2022-09-05 23:14:43 +03:00
} ,
"./contract" : {
2023-02-19 06:18:42 +03:00
"types" : "./types/contract/index.d.ts" ,
2022-09-05 23:14:43 +03:00
"import" : "./lib.esm/contract/index.js" ,
2023-02-19 06:18:42 +03:00
"require" : "./lib.commonjs/contract/index.js"
2022-09-05 23:14:43 +03:00
} ,
"./crypto" : {
2023-02-19 06:18:42 +03:00
"types" : "./types/crypto/index.d.ts" ,
2022-09-05 23:14:43 +03:00
"import" : "./lib.esm/crypto/index.js" ,
2023-02-19 06:18:42 +03:00
"require" : "./lib.commonjs/crypto/index.js"
2022-09-05 23:14:43 +03:00
} ,
"./hash" : {
2023-02-19 06:18:42 +03:00
"types" : "./types/hash/index.d.ts" ,
2022-09-05 23:14:43 +03:00
"import" : "./lib.esm/hash/index.js" ,
2023-02-19 06:18:42 +03:00
"require" : "./lib.commonjs/hash/index.js"
2022-09-05 23:14:43 +03:00
} ,
"./providers" : {
2023-02-19 06:18:42 +03:00
"types" : "./types/providers/index.d.ts" ,
2022-09-05 23:14:43 +03:00
"import" : "./lib.esm/providers/index.js" ,
2023-02-19 06:18:42 +03:00
"require" : "./lib.commonjs/providers/index.js"
2022-09-05 23:14:43 +03:00
} ,
"./transaction" : {
2023-02-19 06:18:42 +03:00
"types" : "./types/transaction/index.d.ts" ,
2022-09-05 23:14:43 +03:00
"import" : "./lib.esm/transaction/index.js" ,
2023-02-19 06:18:42 +03:00
"require" : "./lib.commonjs/transaction/index.js"
2022-09-05 23:14:43 +03:00
} ,
"./utils" : {
2023-02-19 06:18:42 +03:00
"types" : "./types/utils/index.d.ts" ,
2022-09-05 23:14:43 +03:00
"import" : "./lib.esm/utils/index.js" ,
2023-02-19 06:18:42 +03:00
"require" : "./lib.commonjs/utils/index.js"
2022-09-05 23:14:43 +03:00
} ,
"./wallet" : {
2023-02-19 06:18:42 +03:00
"types" : "./types/wallet/index.d.ts" ,
2022-09-05 23:14:43 +03:00
"import" : "./lib.esm/wallet/index.js" ,
2023-02-19 06:18:42 +03:00
"require" : "./lib.commonjs/wallet/index.js"
2022-09-05 23:14:43 +03:00
} ,
"./wordlists" : {
2023-02-19 06:18:42 +03:00
"types" : "./types/wordlists/index.d.ts" ,
2022-09-05 23:14:43 +03:00
"import" : "./lib.esm/wordlists/index.js" ,
2023-02-19 06:18:42 +03:00
"require" : "./lib.commonjs/wordlists/index.js"
2022-09-05 23:14:43 +03:00
}
} ,
2023-02-03 07:05:38 +03:00
"funding" : [
{
"type" : "individual" ,
"url" : "https://github.com/sponsors/ethers-io/"
} ,
{
"type" : "individual" ,
"url" : "https://www.buymeacoffee.com/ricmoo"
}
] ,
2023-02-23 14:31:09 +03:00
"gitHead" : "20bbd1281911d31b360f6f5032251c9257943541" ,
2023-02-04 11:15:22 +03:00
"homepage" : "https://ethers.org" ,
2022-09-05 23:14:43 +03:00
"keywords" : [
"ethereum" ,
"ethers" ,
"ethersjs"
] ,
"license" : "MIT" ,
"main" : "./lib.commonjs/index.js" ,
"module" : "./lib.esm/index.js" ,
"name" : "ethers" ,
"publishConfig" : {
"access" : "public" ,
2023-02-03 04:51:33 +03:00
"tag" : "latest"
2022-09-05 23:14:43 +03:00
} ,
"repository" : {
"type" : "git" ,
"url" : "git://github.com/ethers-io/ethers.js.git"
} ,
"scripts" : {
2023-02-23 05:03:47 +03:00
"_build-dist" : "rollup -c && uglifyjs ./dist/ethers.js -o ./dist/ethers.min.js && uglifyjs ./dist/ethers.umd.js -o ./dist/ethers.umd.min.js && uglifyjs ./dist/wordlists-extra.js -o ./dist/wordlists-extra.min.js && cp ./output/post-build/dist/* ./dist/" ,
"_dist-stats" : "gzip -k9f -S '.gz' ./dist/ethers.min.js && gzip -k9f -S '.gz' ./dist/ethers.umd.min.js && gzip -k9f -S '.gz' ./dist/wordlists-extra.min.js && du -hs ./dist/*.gz && echo '' && du -hs ./dist/*.js" ,
2022-09-05 23:14:43 +03:00
"auto-build" : "npm run build -- -w" ,
2022-09-27 10:45:27 +03:00
"build" : "tsc --project tsconfig.esm.json" ,
2023-02-04 11:15:22 +03:00
"build-all" : "npm run build && cp ./output/post-build/lib.esm/* ./lib.esm/ && npm run build-commonjs && npm run build-types" ,
2023-02-23 05:52:33 +03:00
"build-clean" : "npm run clean && npm run build && node lib.esm/_admin/update-version.js && node lib.esm/_admin/update-changelog.js && npm run build-all && npm run _build-dist && npm run _dist-stats" ,
2023-02-04 11:15:22 +03:00
"build-commonjs" : "tsc --project tsconfig.commonjs.json && cp ./output/post-build/lib.commonjs/* ./lib.commonjs/" ,
2022-09-05 23:52:38 +03:00
"build-dist" : "npm run build && npm run _build-dist && npm run _dist-stats" ,
2022-09-27 10:45:27 +03:00
"build-docs" : "echo 'foo'" ,
2023-02-04 16:26:56 +03:00
"build-types" : "tsc --project tsconfig.types.json && cp ./output/post-build/types/* ./types/" ,
2022-09-27 10:45:27 +03:00
"clean" : "rm -rf dist lib.esm lib.commonjs types" ,
2022-09-05 23:14:43 +03:00
"stats" : "echo 'Dependencies' && npm ls --all --omit=dev" ,
2022-10-01 02:38:49 +03:00
"test" : "npm run test-esm" ,
2022-09-05 23:14:43 +03:00
"test-commonjs" : "mocha --reporter ./reporter.cjs ./lib.commonjs/_tests/test-*.js" ,
2022-10-01 08:34:06 +03:00
"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"
2022-09-05 23:14:43 +03:00
} ,
"sideEffects" : false ,
"type" : "module" ,
"types" : "./types/index.d.ts" ,
2023-02-23 14:31:09 +03:00
"version" : "6.0.8"
2022-09-05 23:14:43 +03:00
}