ethers.js/package.json

75 lines
4.0 KiB
JSON
Raw Normal View History

2019-05-15 01:25:46 +03:00
{
"name": "ethers",
2019-05-15 01:25:46 +03:00
"private": true,
2019-09-08 09:46:53 +03:00
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
2019-05-15 01:25:46 +03:00
"scripts": {
"postinstall": "npm run bootstrap",
"auto-build": "node ./admin/cmds/reset-build.js && npm run build -- -w",
2020-01-11 04:09:40 +03:00
"auto-build-esm": "node ./admin/cmds/set-option esm && npm run build -- -w",
"bootstrap": "node ./admin/cmds/reset-build.js && node ./admin/cmds/update-depgraph && lerna bootstrap --hoist",
2019-05-15 01:25:46 +03:00
"build": "tsc --build ./tsconfig.project.json",
2019-11-24 13:13:37 +03:00
"_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",
2020-04-18 12:44:51 +03:00
"_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",
2020-08-28 04:56:40 +03:00
"dist-shims": "cd packages/shims && npm run dist",
"_dist-test-esm": "rollup -c rollup-tests.config.js --configModule",
2019-11-24 13:13:37 +03:00
"_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",
2020-07-13 13:48:33 +03:00
"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",
2020-08-28 04:56:40 +03:00
"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",
2020-08-24 02:44:43 +03: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",
2019-09-01 07:13:35 +03:00
"lock-versions": "node ./admin/cmds/lock-versions",
2019-10-19 14:00:39 +03:00
"build-docs": "flatworm docs.wrm docs",
2020-06-18 06:38:59 +03:00
"serve-docs": "node ./admin/cmds/serve-docs.js",
"test-docs": "npm run build-docs && npm run serve-docs",
2020-01-07 02:47:20 +03:00
"upload-docs": " node ./admin/cmds/upload-docs.js",
"spell-check": "node admin/cmds/spell-check.js",
2019-11-24 18:02:22 +03:00
"_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",
2019-11-24 13:13:37 +03:00
"publish-all": "node ./admin/cmds/publish",
2019-10-19 14:00:39 +03:00
"sync-github": "node ./admin/cmds/cache-github"
2019-05-15 01:25:46 +03:00
},
"devDependencies": {
2020-07-13 13:48:33 +03:00
"@erquhart/rollup-plugin-node-builtins": "2.1.5",
2019-05-15 01:25:46 +03:00
"@types/assert": "^1.4.1",
"@types/mocha": "^5.2.0",
2019-09-06 19:25:17 +03:00
"@types/node": "^12.7.4",
2019-05-15 01:25:46 +03:00
"aes-js": "3.0.0",
2020-01-07 02:47:20 +03:00
"aws-sdk": "2.137.0",
2019-05-15 01:25:46 +03:00
"diff": "4.0.1",
2020-06-18 06:38:59 +03:00
"flatworm": "0.0.2-beta.4",
"karma": "5.1.0",
2019-11-24 13:13:37 +03:00
"karma-chrome-launcher": "3.1.0",
"karma-mocha": "2.0.1",
"lerna": "3.22.1",
"libnpmpublish": "1.1.3",
"mocha": "^7.1.1",
2019-11-24 13:13:37 +03:00
"npm-packlist": "1.4.1",
2020-07-13 13:48:33 +03:00
"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",
2020-08-21 00:22:41 +03:00
"rollup-plugin-terser": "^7.0.0",
2019-11-24 13:13:37 +03:00
"rollup-pluginutils": "2.8.1",
2020-05-21 07:07:41 +03:00
"scrypt-js": "3.0.1",
2019-11-24 13:13:37 +03:00
"semver": "^5.6.0",
"tar": "4.4.8",
"typescript": "3.8.3"
2019-05-15 01:25:46 +03:00
}
}