diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-10-01 21:17:18 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-10-02 21:09:23 +0800 |
commit | 00051ae5bb0b69e694de79bba86b2cd0ac0db6ae (patch) | |
tree | 0f4f1f22fe4f4a2d71c9809c4dfc5566ac3cbca2 /package.json | |
parent | 9ad4a135d23f485b705d3d9fb3f93be6c958c6b9 (diff) | |
download | dexon-sol-tools-00051ae5bb0b69e694de79bba86b2cd0ac0db6ae.tar.gz dexon-sol-tools-00051ae5bb0b69e694de79bba86b2cd0ac0db6ae.tar.zst dexon-sol-tools-00051ae5bb0b69e694de79bba86b2cd0ac0db6ae.zip |
Add a command to run bundle size reporter
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package.json b/package.json index 681721bb9..7df0da7b6 100644 --- a/package.json +++ b/package.json @@ -35,15 +35,25 @@ "test": "wsrun test $PKG --fast-exit --serial --exclude-missing", "generate_doc": "node ./packages/monorepo-scripts/lib/doc_generate_and_upload.js", "test:generate_docs:circleci": "for i in ${npm_package_config_packagesWithDocPages}; do yarn generate_doc --package $i --shouldUpload false --isStaging true || break -1; done;", + "bundlesize": "bundlesize", "lint": "wsrun lint $PKG --fast-exit --parallel --exclude-missing" }, "config": { "mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic", "packagesWithDocPages": "0x.js connect json-schemas subproviders web3-wrapper contract-wrappers order-utils order-watcher sol-compiler sol-cov ethereum-types" }, + "bundlesize": [ + { + "path": "packages/0x.js/_bundles/index.min.js" + }, + { + "path": "packages/0x.js/_bundles/index.js" + } + ], "devDependencies": { "@0x-lerna-fork/lerna": "3.0.0-beta.25", "async-child-process": "^1.1.1", + "bundlesize": "^0.17.0", "coveralls": "^3.0.0", "ganache-cli": "6.1.3", "lcov-result-merger": "^3.0.0", |