ethers.js/package.json

136 lines
4.8 KiB
JSON
Raw Permalink Normal View History

2022-09-05 16:14:43 -04:00
{
"author": "Richard Moore <me@ricmoo.com>",
2022-09-27 03:45:27 -04: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",
"./lib.esm/wordlists/wordlists.js": "./lib.esm/wordlists/wordlists-browser.js"
2022-09-27 03:45:27 -04:00
},
2022-09-05 16:14:43 -04:00
"dependencies": {
2023-10-09 20:22:04 -04:00
"@adraffy/ens-normalize": "1.10.0",
"@noble/curves": "1.2.0",
"@noble/hashes": "1.3.2",
"@types/node": "18.15.13",
"aes-js": "4.0.0-beta.5",
2022-09-05 16:14:43 -04:00
"tslib": "2.4.0",
"ws": "8.5.0"
},
2023-02-02 22:03:45 -05:00
"description": "A complete and compact Ethereum library, for dapps, wallets and any other tools.",
2022-09-05 16:14:43 -04:00
"devDependencies": {
"@rollup/plugin-node-resolve": "15.0.2",
2022-09-05 16:14:43 -04:00
"@types/mocha": "9.1.1",
2023-08-14 19:40:50 -04:00
"@types/semver": "7.5.0",
2022-09-05 16:14:43 -04:00
"c8": "7.12.0",
"mocha": "10.0.0",
"rollup": "3.21.5",
2023-08-14 19:40:50 -04:00
"semver": "7.5.4",
"typescript": "5.0.4",
2022-09-05 16:14:43 -04:00
"uglify-js": "3.17.0"
},
"engines": {
"node": ">=14.0.0"
},
2023-02-04 03:26:34 -05:00
"ethereum": "donations.ethers.eth",
2022-09-05 16:14:43 -04:00
"exports": {
".": {
"import": "./lib.esm/index.js",
"default": "./lib.commonjs/index.js"
2022-09-05 16:14:43 -04:00
},
"./abi": {
"import": "./lib.esm/abi/index.js",
"default": "./lib.commonjs/abi/index.js"
2022-09-05 16:14:43 -04:00
},
"./address": {
"import": "./lib.esm/address/index.js",
"default": "./lib.commonjs/address/index.js"
2022-09-05 16:14:43 -04:00
},
"./constants": {
"import": "./lib.esm/constants/index.js",
"default": "./lib.commonjs/constants/index.js"
2022-09-05 16:14:43 -04:00
},
"./contract": {
"import": "./lib.esm/contract/index.js",
"default": "./lib.commonjs/contract/index.js"
2022-09-05 16:14:43 -04:00
},
"./crypto": {
"import": "./lib.esm/crypto/index.js",
"default": "./lib.commonjs/crypto/index.js"
2022-09-05 16:14:43 -04:00
},
"./hash": {
"import": "./lib.esm/hash/index.js",
"default": "./lib.commonjs/hash/index.js"
2022-09-05 16:14:43 -04:00
},
"./providers": {
"import": "./lib.esm/providers/index.js",
"default": "./lib.commonjs/providers/index.js"
2022-09-05 16:14:43 -04:00
},
"./transaction": {
"import": "./lib.esm/transaction/index.js",
"default": "./lib.commonjs/transaction/index.js"
2022-09-05 16:14:43 -04:00
},
"./utils": {
"import": "./lib.esm/utils/index.js",
"default": "./lib.commonjs/utils/index.js"
2022-09-05 16:14:43 -04:00
},
"./wallet": {
"import": "./lib.esm/wallet/index.js",
"default": "./lib.commonjs/wallet/index.js"
2022-09-05 16:14:43 -04:00
},
"./wordlists": {
"import": "./lib.esm/wordlists/index.js",
"default": "./lib.commonjs/wordlists/index.js"
2022-09-05 16:14:43 -04:00
}
},
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/ethers-io/"
},
{
"type": "individual",
"url": "https://www.buymeacoffee.com/ricmoo"
}
],
2023-11-27 06:11:49 -05:00
"gitHead": "f8f11c754aa2c9b541db73d3bde66a8ffa5146f0",
2023-02-04 03:15:22 -05:00
"homepage": "https://ethers.org",
2022-09-05 16:14:43 -04:00
"keywords": [
"ethereum",
"ethers",
"ethersjs"
],
"license": "MIT",
"main": "./lib.commonjs/index.js",
"module": "./lib.esm/index.js",
"name": "ethers",
"publishConfig": {
"access": "public",
2023-02-02 20:51:33 -05:00
"tag": "latest"
2022-09-05 16:14:43 -04:00
},
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"scripts": {
"_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",
2023-02-22 21:03:47 -05:00
"_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 16:14:43 -04:00
"auto-build": "npm run build -- -w",
2022-09-27 03:45:27 -04:00
"build": "tsc --project tsconfig.esm.json",
"build-all": "npm run build && npm run build-commonjs",
"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",
"build-commonjs": "tsc --project tsconfig.commonjs.json",
"build-dist": "npm run build && npm run _build-dist && npm run _dist-stats",
"clean": "rm -rf dist lib.esm lib.commonjs && cp -r misc/basedirs/* .",
2023-03-27 21:22:35 -04:00
"postpublish": "node lib.esm/_admin/create-release.js",
2022-09-05 16:14:43 -04:00
"stats": "echo 'Dependencies' && npm ls --all --omit=dev",
2022-09-30 19:38:49 -04:00
"test": "npm run test-esm",
2023-05-06 15:02:36 +09:00
"test-browser": "node lib.esm/_admin/test-browser",
2022-09-05 16:14:43 -04:00
"test-commonjs": "mocha --reporter ./reporter.cjs ./lib.commonjs/_tests/test-*.js",
2022-10-01 01:34:06 -04: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 16:14:43 -04:00
},
"sideEffects": false,
2023-11-27 06:11:49 -05:00
"version": "6.9.0"
2022-09-05 16:14:43 -04:00
}