2019-05-14 18:25:46 -04:00
|
|
|
{
|
|
|
|
"name": "root",
|
|
|
|
"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": {
|
2019-08-25 02:39:20 -04:00
|
|
|
"auto-build": "node ./admin/cmds/reset-build.js && npm run build -- -w",
|
2020-01-10 20:09:40 -05:00
|
|
|
"auto-build-esm": "node ./admin/cmds/set-option esm && npm run build -- -w",
|
2019-08-25 02:39:20 -04:00
|
|
|
"bootstrap": "node ./admin/cmds/reset-build.js && node ./admin/cmds/update-depgraph && lerna bootstrap --hoist",
|
2019-05-14 18:25:46 -04:00
|
|
|
"build": "tsc --build ./tsconfig.project.json",
|
2019-11-24 19:13:37 +09: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 05:44:51 -04: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": "npm run _dist-esm && npm run _dist-ancillary && npm run _dist-umd",
|
2019-08-25 02:39:20 -04:00
|
|
|
"clean": "node ./admin/cmds/reset-build.js && tsc --build --clean ./tsconfig.project.json",
|
2019-11-25 14:23:22 +09:00
|
|
|
"_dist-test-esm": "rollup -c rollup-tests.config.js --configModule",
|
2019-11-24 19:13:37 +09:00
|
|
|
"_dist-test-umd": "rollup -c rollup-tests.config.js",
|
|
|
|
"_test-browser-umd": "karma start --single-run --browsers ChromeHeadless karma-umd.conf.js",
|
|
|
|
"_test-browser-esm": "karma start --single-run --browsers ChromeHeadless karma-esm.conf.js",
|
|
|
|
"_test-node": "mocha --no-colors --reporter ./packages/tests/reporter ./packages/tests/lib/test-*.js",
|
|
|
|
"test-browser-umd": "npm run build-all && npm run _dist-test-umd && npm run _test-browser-umd",
|
|
|
|
"test-browser-esm": "npm run build-all && npm run _dist-test-esm && npm run _test-browser-esm",
|
|
|
|
"test-node": "npm run build-all && npm run _test-node",
|
|
|
|
"test": "if [ \"$TEST\" == \"\" ]; then npm run test-node; else npm run \"test-$TEST\"; fi",
|
2019-09-01 00:13:35 -04:00
|
|
|
"lock-versions": "node ./admin/cmds/lock-versions",
|
2019-10-19 20:00:39 +09:00
|
|
|
"build-docs": "flatworm docs.wrm docs",
|
2020-01-06 18:47:20 -05:00
|
|
|
"upload-docs": " node ./admin/cmds/upload-docs.js",
|
2020-04-22 02:42:25 -04:00
|
|
|
"spell-check": "node admin/cmds/spell-check.js",
|
2019-11-25 00:02:22 +09:00
|
|
|
"_admin_prepare": "npm run clean && npm run bootstrap && npm run build && node ./admin/cmds/update-exports.js",
|
2020-04-22 02:42:25 -04:00
|
|
|
"update-versions": "npm run spell-check && npm run _admin_prepare && node ./admin/cmds/update-versions",
|
2019-11-24 19:13:37 +09:00
|
|
|
"publish-all": "node ./admin/cmds/publish",
|
2019-10-19 20:00:39 +09:00
|
|
|
"sync-github": "node ./admin/cmds/cache-github"
|
2019-05-14 18:25:46 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/assert": "^1.4.1",
|
|
|
|
"@types/mocha": "^5.2.0",
|
2019-09-06 12:25:17 -04:00
|
|
|
"@types/node": "^12.7.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",
|
2020-04-18 02:56:19 -04:00
|
|
|
"karma": "5.0.2",
|
2019-11-24 19:13:37 +09:00
|
|
|
"karma-chrome-launcher": "3.1.0",
|
2020-04-18 02:56:19 -04:00
|
|
|
"karma-mocha": "2.0.0",
|
|
|
|
"lerna": "^3.20.2",
|
2019-05-14 18:25:46 -04:00
|
|
|
"libnpm": "2.0.1",
|
2020-03-22 14:57:17 -04:00
|
|
|
"mocha": "^7.1.1",
|
2019-11-24 19:13:37 +09:00
|
|
|
"npm-packlist": "1.4.1",
|
2019-08-25 02:39:20 -04:00
|
|
|
"rollup": "1.20.1",
|
|
|
|
"rollup-plugin-commonjs": "10.0.2",
|
|
|
|
"rollup-plugin-json": "4.0.0",
|
2020-02-26 09:48:12 +00:00
|
|
|
"@erquhart/rollup-plugin-node-builtins": "2.1.5",
|
|
|
|
"rollup-plugin-node-globals": "1.4.0",
|
2019-08-25 02:39:20 -04:00
|
|
|
"rollup-plugin-node-resolve": "5.2.0",
|
2020-02-26 09:48:12 +00:00
|
|
|
"rollup-plugin-terser": "^5.2.0",
|
|
|
|
"rollup-plugin-uglify": "^6.0.4",
|
2019-11-24 19:13:37 +09:00
|
|
|
"rollup-pluginutils": "2.8.1",
|
|
|
|
"scrypt-js": "3.0.0",
|
|
|
|
"semver": "^5.6.0",
|
|
|
|
"tar": "4.4.8",
|
2020-03-22 14:57:17 -04:00
|
|
|
"typescript": "3.8.3"
|
2019-05-14 18:25:46 -04:00
|
|
|
}
|
|
|
|
}
|