ethers.js/package.json

78 lines
4.6 KiB
JSON
Raw Normal View History

2019-05-15 01:25:46 +03:00
{
"name": "root",
"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": {
"auto-build": "node ./admin/cmds/reset-build.js && 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",
"_dist-min-all": "node ./admin/cmds/set-option.js browser-lang-all && rollup -c --configMinify && rollup -c --configMinify --configModule && mv ./packages/ethers/dist/ethers.umd.min.js ./packages/ethers/dist/ethers-all.umd.min.js && mv ./packages/ethers/dist/ethers.esm.min.js ./packages/ethers/dist/ethers-all.esm.min.js",
"_dist-min-en": "node ./admin/cmds/set-option.js browser-lang-en && rollup -c --configMinify && rollup -c --configMinify --configModule",
2019-11-24 18:02:22 +03:00
"_dist-full": "rollup -c && rollup -c --configModule",
"_dist": "npm run _dist-min-all && npm run _dist-min-en && npm run _dist-full",
2019-11-24 13:13:37 +03:00
"build-all": "node ./admin/cmds/update-exports.js && npm run _build-esm && npm run _build-cjs && npm run _dist",
"clean": "node ./admin/cmds/reset-build.js && tsc --build --clean ./tsconfig.project.json",
2019-11-24 18:02:22 +03:00
"__dist_ethers": "npm run _dist-min-all && npm run _dist-min-en && npm run _dist-full",
"__dist_prepare": "npm run clean && npm run bootstrap && npm run build && node ./admin/cmds/update-exports.js",
"__dist_tests": "rollup -c --configTest && rollup -c --configTest --configMinify && rollup -c --configTest --configModule && rollup -c --configTest --configModule --configMinify",
"__test_prepare": "npm run _dist_prepare && npm run _dist_tests",
"__test_node": "npm run _test_prepare && npm run _test_node",
"__dist_old": "npm run clean && npm run bootstrap && npm run build && lerna run dist",
"__old-test": "npm run _dist_old && npm run test-check",
"__old-test-check": "if [ \"$RUN_PHANTOMJS\" = \"1\" ]; then npm run-script test-phantomjs; else npm run-script test-node; fi",
"__old-test-node": "cd packages/tests && mocha --no-colors --reporter ./tests/reporter ./tests/test-*.js",
"__old-test-phantomjs": "cd packages/tests && npm run dist-phantomjs && phantomjs --web-security=false ../../node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js ./test.html ./tests/reporter.js",
"__old-test-aion": "npm run dist && npm run test-aion-node",
"__old-test-aion-node": "cd packages/aion-tests && mocha --no-colors --reporter ../tests/tests/reporter ./tests/test-*.js",
"_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 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 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",
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 _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": {
"@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",
"browserify": "16.2.3",
"diff": "4.0.1",
2019-11-24 13:13:37 +03:00
"karma": "4.4.1",
"karma-chrome-launcher": "3.1.0",
"karma-mocha": "1.3.0",
2019-05-15 01:25:46 +03:00
"lerna": "^3.13.0",
"libnpm": "2.0.1",
"mocha": "^5.2.0",
"mocha-phantomjs-core": "2.1.2",
2019-11-24 13:13:37 +03:00
"npm-packlist": "1.4.1",
"rollup": "1.20.1",
2019-11-23 15:15:06 +03:00
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-commonjs": "10.0.2",
2019-11-23 15:15:06 +03:00
"rollup-plugin-node-globals": "1.4.0",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-terser": "5.1.1",
"rollup-plugin-uglify": "6.0.2",
2019-11-24 13:13:37 +03:00
"rollup-pluginutils": "2.8.1",
"scrypt-js": "3.0.0",
"semver": "^5.6.0",
"tar": "4.4.8",
"typescript": "3.6.2"
2019-05-15 01:25:46 +03:00
}
}