ethers.js/package.json
2020-09-17 03:40:55 -04:00

97 lines
4.8 KiB
JSON

{
"name": "ethers",
"private": true,
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"scripts": {
"preinstall": "npm run bootstrap-hoist",
"postinstall": "node ./admin/cmds/reset-build.js && node ./admin/cmds/update-depgraph && npm run bootstrap-link",
"bootstrap-hoist": "node ./misc/admin/lib/cmds/hoist",
"bootstrap-link": "node ./misc/admin/lib/cmds/link",
"auto-build": "node ./admin/cmds/reset-build.js && npm run build -- -w",
"auto-build-esm": "node ./admin/cmds/set-option esm && npm run build -- -w",
"build": "tsc --build ./tsconfig.project.json",
"_build-cjs": "node ./admin/cmds/set-option cjs && npm run build",
"_build-esm": "node ./admin/cmds/set-option esm && npm run build",
"build-all": "node ./admin/cmds/update-exports.js && npm run _build-esm && npm run _build-cjs && npm run _dist",
"_dist-ancillary": "node ./admin/cmds/set-option esm && rollup -c rollup-ancillary.config.js",
"_dist-umd": "node ./admin/cmds/set-option cjs browser-lang-all && rollup -c && mv ./packages/ethers/dist/ethers.umd.min.js ./packages/ethers/dist/ethers-all.umd.min.js && node ./admin/cmds/set-option cjs && rollup -c",
"_dist-esm": "node ./admin/cmds/set-option esm browser-lang-all && rollup -c --configModule && mv ./packages/ethers/dist/ethers.esm.min.js ./packages/ethers/dist/ethers-all.esm.min.js && node ./admin/cmds/set-option esm && rollup -c --configModule",
"_dist-all": "npm run _dist-esm && npm run _dist-ancillary && npm run _dist-umd",
"_dist": "node admin/cmds/npm-skip-node8.js || npm run _dist-all",
"clean": "node ./admin/cmds/reset-build.js && tsc --build --clean ./tsconfig.project.json && rm -rf packages/*/node_modules node_modules .package_node_modules package-lock.json",
"dist-shims": "cd packages/shims && npm run dist",
"_dist-test-esm": "rollup -c rollup-tests.config.js --configModule",
"_dist-test-umd": "rollup -c rollup-tests.config.js",
"_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",
"test-browser-umd": "npm run _dist-test-umd && npm run _test-browser-umd",
"test-browser-esm": "npm run _dist-test-esm && npm run _test-browser-esm",
"test-node": "mocha --no-colors --reporter ./packages/tests/reporter ./packages/tests/lib/test-*.js",
"test-react": "npm run _dist-test-umd && npm run dist-shims && pushd misc/ReactNativeTestApp && ./run-tests.sh && popd",
"test": "npm run build-all && npm run test-node",
"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",
"lock-versions": "node ./admin/cmds/lock-versions",
"build-docs": "flatworm docs.wrm docs",
"serve-docs": "node ./admin/cmds/serve-docs.js",
"test-docs": "npm run build-docs && npm run serve-docs",
"upload-docs": " node ./admin/cmds/upload-docs.js",
"spell-check": "node admin/cmds/spell-check.js",
"_admin_prepare": "npm run clean && npm run bootstrap && npm run build && node ./admin/cmds/update-exports.js",
"update-versions": "npm run spell-check && npm run _admin_prepare && node ./admin/cmds/update-versions",
"publish-all": "node ./admin/cmds/publish",
"sync-github": "node ./admin/cmds/cache-github"
},
"devDependencies": {
"@erquhart/rollup-plugin-node-builtins": "2.1.5",
"@types/assert": "^1.4.1",
"@types/mocha": "^5.2.0",
"@types/node": "^12.7.4",
"aes-js": "3.0.0",
"aws-sdk": "2.137.0",
"diff": "4.0.1",
"flatworm": "0.0.2-beta.4",
"karma": "5.1.0",
"karma-chrome-launcher": "3.1.0",
"karma-mocha": "2.0.1",
"libnpmpublish": "1.1.3",
"mocha": "^7.1.1",
"npm-packlist": "1.4.1",
"nyc": "15.1.0",
"rollup": "1.20.1",
"rollup-plugin-commonjs": "10.0.2",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-globals": "1.4.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-terser": "^7.0.0",
"rollup-pluginutils": "2.8.1",
"scrypt-js": "3.0.1",
"semver": "^5.6.0",
"tar": "4.4.8",
"typescript": "3.8.3"
},
"dependencies": {
"@babel/parser": "7.8.4",
"@babel/types": "7.8.3",
"@ensdomains/address-encoder": "^0.1.2",
"@ledgerhq/hw-app-eth": "5.3.0",
"@ledgerhq/hw-transport": "5.3.0",
"@ledgerhq/hw-transport-u2f": "5.3.0",
"@types/mocha": "^5.2.0",
"aes-js": "3.0.0",
"bech32": "1.1.4",
"bn.js": "^4.4.0",
"browserify-zlib": "^0.2.0",
"elliptic": "6.5.3",
"hash.js": "1.1.3",
"js-sha3": "0.5.7",
"mime-types": "2.1.11",
"scrypt-js": "3.0.1",
"solc": "0.5.10",
"solidity-parser-antlr": "^0.3.2",
"ws": "7.2.3"
}
}