ethers.js/package.json

105 lines
5.7 KiB
JSON
Raw Permalink Normal View History

2019-05-14 18:25:46 -04:00
{
"name": "ethers",
2020-11-23 19:23:11 -05:00
"common": {
"ethereum": "donations.ethers.eth",
"funding": [
{
"type": "individual",
"url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2"
},
{
"type": "individual",
"url": "https://www.buymeacoffee.com/ricmoo"
}
]
},
2019-05-14 18:25:46 -04:00
"private": true,
2019-09-08 02:46:53 -04:00
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
2019-05-14 18:25:46 -04:00
"scripts": {
"preinstall": "npm run bootstrap-hoist",
2020-09-22 22:54:48 -04:00
"postinstall": "node ./misc/admin/lib/cmds/update-depgraph && npm run bootstrap-link",
"bootstrap-hoist": "node ./misc/admin/lib/cmds/hoist",
"bootstrap-link": "node ./misc/admin/lib/cmds/link",
2020-09-22 22:54:48 -04:00
"auto-build": "node ./misc/admin/lib/cmds/set-build-option cjs && npm run build -- -w",
"auto-build-esm": "node ./misc/admin/lib/cmds/set-build-option esm && npm run build -- -w",
2019-05-14 18:25:46 -04:00
"build": "tsc --build ./tsconfig.project.json",
2020-09-22 22:54:48 -04:00
"_build-cjs": "node ./misc/admin/lib/cmds/echo 'Building CommonJS libraries...' && node ./misc/admin/lib/cmds/set-build-option cjs && npm run build",
"_build-esm": "node ./misc/admin/lib/cmds/echo 'Building ES modules libraries...' && node ./misc/admin/lib/cmds/set-build-option esm && npm run build",
2020-11-14 17:42:36 -05:00
"clean": "node ./misc/admin/lib/cmds/echo 'Cleaning all build files...' && rm -rf packages/*/lib packages/*/lib._esm packages/*/lib.esm packages/*/node_modules packages/*/dist/*.js packages/*/tsconfig.tsbuildinfo node_modules .package_node_modules package-lock.json",
2020-11-16 21:20:35 -05:00
"_test-dist": "rollup -c rollup-tests.config.js && node ./misc/admin/lib/cmds/setup-karma-tests",
"_test-browser-umd": "karma start --single-run --browsers HeadlessLittleLiar karma-umd.conf.js",
"_test-browser-esm": "karma start --single-run --browsers HeadlessLittleLiar karma-esm.conf.js",
2020-11-14 17:42:36 -05:00
"test-browser-umd": "npm run _test-dist && npm run _test-browser-umd",
"test-browser-esm": "npm run _test-dist && npm run _test-browser-esm",
2020-09-22 22:54:48 -04:00
"test-coverage": "nyc --report-dir=output --reporter=lcov --reporter=text mocha --reporter ./packages/tests/reporter-keepalive ./packages/tests/lib/test-*.js | tee output/summary.txt",
2020-07-13 06:48:33 -04:00
"test-node": "mocha --no-colors --reporter ./packages/tests/reporter ./packages/tests/lib/test-*.js",
2020-11-16 21:20:35 -05:00
"test-react": "npm run _test-dist && pushd misc/ReactNativeTestApp && ./run-tests.sh && popd",
"test": "npm run build-all && npm run test-node",
2019-10-19 20:00:39 +09:00
"build-docs": "flatworm docs.wrm docs",
2020-09-22 22:54:48 -04:00
"serve-docs": "node ./misc/admin/lib/cmds/serve-docs.js",
2021-01-13 03:41:29 -05:00
"upload-docs": " node ./misc/admin/lib/cmds/upload-docs.js",
2020-09-22 22:54:48 -04:00
"spell-check": "node ./misc/admin/lib/cmds/spell-check.js",
2020-11-14 17:42:36 -05:00
"_reset-build": "node ./misc/admin/lib/cmds/set-build-option cjs",
"_esm-alias-nodesafe": "node ./misc/admin/lib/cmds/echo 'Bundling ESM elliptic (lib._esm/browser-elliptic.js)...' && rollup -c rollup-pre-alias.config.js && node misc/admin/lib/cmds/esm-alias",
"_esm-alias": "node ./misc/admin/lib/cmds/npm-skip-node8.js || npm run _esm-alias-nodesafe",
2020-11-16 21:20:35 -05:00
"build-libs": "node ./misc/admin/lib/cmds/update-exports.js && node ./misc/admin/lib/cmds/bundle-testcases && npm run _build-cjs && npm run _build-esm && npm run _reset-build && node packages/asm/generate.js && npm run _esm-alias && chmod 755 packages/*/lib/bin/*.js",
2020-11-14 17:42:36 -05:00
"build-dist-shims": "rollup -c rollup-shims.config.js && uglifyjs --compress --mangle --output ./packages/shims/dist/index.min.js -- ./packages/shims/dist/index.js",
"build-dist-libs": "rollup -c rollup-dist.config.js && uglifyjs packages/ethers/dist/ethers.umd.js --output packages/ethers/dist/ethers.umd.min.js --source-map 'content=packages/ethers/dist/ethers.umd.js.map' && uglifyjs packages/ethers/dist/ethers.esm.js --output packages/ethers/dist/ethers.esm.min.js --source-map 'content=packages/ethers/dist/ethers.esm.js.map'",
"_build-dist-nodesafe": "node ./misc/admin/lib/cmds/echo 'Building dist files...' && npm run build-dist-libs && npm run build-dist-shims",
"build-dist": "node ./misc/admin/lib/cmds/npm-skip-node8.js || npm run _build-dist-nodesafe",
2020-09-22 22:54:48 -04:00
"build-all": "npm run build-libs && npm run build-dist",
2020-09-26 03:27:47 -04:00
"update-versions": "npm run clean && npm install && npm run spell-check && npm run build-all && node ./misc/admin/lib/cmds/bump-versions && npm run build-all && node ./misc/admin/lib/cmds/update-hashes && node ./misc/admin/lib/cmds/update-changelog",
2020-10-03 02:20:50 -04:00
"publish-all": "node ./misc/admin/lib/cmds/publish",
2020-09-22 22:54:48 -04:00
"TODO-sync-github": "node ./admin/cmds/cache-github"
2019-05-14 18:25:46 -04:00
},
"devDependencies": {
2020-11-14 17:42:36 -05:00
"@rollup/plugin-commonjs": "15.1.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "9.0.0",
"@rollup/plugin-replace": "2.3.3",
2019-05-14 18:25:46 -04:00
"@types/assert": "^1.4.1",
"@types/mocha": "^5.2.0",
2019-09-06 12:25:17 -04:00
"@types/node": "^12.7.4",
2020-09-22 22:54:48 -04:00
"@types/semver": "^7.3.4",
2019-05-14 18:25:46 -04:00
"aes-js": "3.0.0",
2020-01-06 18:47:20 -05:00
"aws-sdk": "2.137.0",
2019-05-14 18:25:46 -04:00
"diff": "4.0.1",
2021-08-18 03:05:48 -03:00
"flatworm": "0.0.2-beta.7",
2020-11-16 21:20:35 -05:00
"jison": "0.4.18",
"karma": "6.3.2",
2019-11-24 19:13:37 +09:00
"karma-chrome-launcher": "3.1.0",
"karma-mocha": "2.0.1",
2020-09-22 22:54:48 -04:00
"libnpmpublish": "3.0.1",
2021-10-16 02:29:27 -04:00
"mocha": "^9.1.3",
2020-07-13 06:48:33 -04:00
"nyc": "15.1.0",
2020-11-16 21:20:35 -05:00
"rollup": "2.33.2",
2020-11-14 17:42:36 -05:00
"rollup-plugin-node-polyfills": "0.2.1",
"rollup-plugin-sourcemaps": "0.6.3",
2020-05-21 00:07:41 -04:00
"scrypt-js": "3.0.1",
2019-11-24 19:13:37 +09:00
"semver": "^5.6.0",
2021-10-20 04:00:49 -04:00
"typescript": "4.4.4",
2020-11-16 21:20:35 -05:00
"uglify-es": "3.3.9"
},
"dependencies": {
"@babel/parser": "7.8.4",
"@babel/types": "7.8.3",
2020-11-14 17:42:36 -05:00
"@ledgerhq/hw-app-eth": "5.27.2",
"@ledgerhq/hw-transport": "5.26.0",
"@ledgerhq/hw-transport-u2f": "5.26.0",
"@types/mocha": "^5.2.0",
"aes-js": "3.0.0",
"bech32": "1.1.4",
2021-05-31 19:06:24 -04:00
"bn.js": "^4.11.9",
2021-02-08 15:24:45 -05:00
"elliptic": "6.5.4",
2021-05-31 19:06:24 -04:00
"hash.js": "1.1.7",
2021-10-16 02:29:27 -04:00
"js-sha3": "0.8.0",
"scrypt-js": "3.0.1",
2020-09-22 22:54:48 -04:00
"solc": "0.7.1",
2020-11-14 17:42:36 -05:00
"tiny-inflate": "1.0.3",
2021-05-31 19:06:24 -04:00
"ws": "7.4.6"
2019-05-14 18:25:46 -04:00
}
}