aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/package.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-06 07:29:18 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-06 07:29:18 +0800
commit7ee7f9978049383030be8fd95100a9dfcd1923a3 (patch)
tree9a98576e8462a45dbd93687827db1e15d3c594dc /packages/0x.js/package.json
parent4c0b8e31132aa582e8f2e70314c2c644a5c08a8e (diff)
downloaddexon-sol-tools-7ee7f9978049383030be8fd95100a9dfcd1923a3.tar
dexon-sol-tools-7ee7f9978049383030be8fd95100a9dfcd1923a3.tar.gz
dexon-sol-tools-7ee7f9978049383030be8fd95100a9dfcd1923a3.tar.bz2
dexon-sol-tools-7ee7f9978049383030be8fd95100a9dfcd1923a3.tar.lz
dexon-sol-tools-7ee7f9978049383030be8fd95100a9dfcd1923a3.tar.xz
dexon-sol-tools-7ee7f9978049383030be8fd95100a9dfcd1923a3.tar.zst
dexon-sol-tools-7ee7f9978049383030be8fd95100a9dfcd1923a3.zip
Add back UMD bundles for 0x.js
Diffstat (limited to 'packages/0x.js/package.json')
-rw-r--r--packages/0x.js/package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json
index 4de046a07..9fd14b1f9 100644
--- a/packages/0x.js/package.json
+++ b/packages/0x.js/package.json
@@ -17,7 +17,7 @@
"scripts": {
"watch": "tsc -w",
"prebuild": "run-s clean generate_contract_wrappers",
- "build": "tsc && copyfiles -u 2 './src/compact_artifacts/**/*.json' ./lib/src/compact_artifacts && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
+ "build": "run-p build:umd:prod build:commonjs; exit 0;",
"generate_contract_wrappers": "abi-gen --abis 'src/compact_artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry|DummyToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'",
"lint": "tslint --project .",
"test:circleci": "run-s test:coverage",
@@ -26,6 +26,8 @@
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"clean": "shx rm -rf _bundles lib test_temp scripts src/contract_wrappers/generated",
+ "build:umd:prod": "NODE_ENV=production webpack",
+ "build:commonjs": "tsc && copyfiles -u 2 './src/compact_artifacts/**/*.json' ./lib/src/compact_artifacts && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"run_mocha": "mocha lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js",
"docs:stage": "node scripts/stage_docs.js",