aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/package.json
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-06 17:30:57 +0800
committerFabio Berger <me@fabioberger.com>2018-06-06 17:30:57 +0800
commit787eec8be4d1318b87bb1edfa1ac9c8689297ccb (patch)
treec5f689ff8d277a8f88645624b4e1162e3cb45efc /packages/0x.js/package.json
parent25f62daf146895a1e0e0c966166f08f28467ae2e (diff)
parentcc39eea9991306eabadd912256452f67fb49c20b (diff)
downloaddexon-0x-contracts-787eec8be4d1318b87bb1edfa1ac9c8689297ccb.tar.gz
dexon-0x-contracts-787eec8be4d1318b87bb1edfa1ac9c8689297ccb.tar.zst
dexon-0x-contracts-787eec8be4d1318b87bb1edfa1ac9c8689297ccb.zip
Merge v2-prototype
Diffstat (limited to 'packages/0x.js/package.json')
-rw-r--r--packages/0x.js/package.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json
index b8d699795..0117d9df4 100644
--- a/packages/0x.js/package.json
+++ b/packages/0x.js/package.json
@@ -16,17 +16,19 @@
"types": "lib/src/index.d.ts",
"scripts": {
"watch_without_deps": "yarn pre_build && tsc -w",
- "build": "yarn pre_build && tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
+ "build": "yarn pre_build && build:all && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"pre_build": "run-s generate_contract_wrappers copy_artifacts",
"copy_artifacts": "copyfiles -u 2 './src/compact_artifacts/**/*.json' ./lib/src/compact_artifacts",
"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",
"test": "yarn run_mocha",
- "rebuild-and-test": "run-s build test",
+ "rebuild_and_test": "run-s build test",
"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",