aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/package.json
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-10-05 05:52:49 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-10-16 04:36:59 +0800
commit57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0 (patch)
treebc116aa8ccd5f5f8432157074d09d8266f0158f8 /packages/order-utils/package.json
parent2bd7b0f66bd28792281ba025cf005c666e7f767e (diff)
downloaddexon-0x-contracts-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar.gz
dexon-0x-contracts-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar.zst
dexon-0x-contracts-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.zip
update order-utils to use new artifacts and abi-gen wrappers packages
Diffstat (limited to 'packages/order-utils/package.json')
-rw-r--r--packages/order-utils/package.json13
1 files changed, 5 insertions, 8 deletions
diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json
index 6471de9f5..50bc0f0a0 100644
--- a/packages/order-utils/package.json
+++ b/packages/order-utils/package.json
@@ -8,23 +8,19 @@
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
"scripts": {
- "build": "yarn pre_build && tsc -b",
+ "build": "yarn tsc -b",
"build:ci": "yarn build",
- "pre_build": "run-s update_artifacts generate_contract_wrappers",
- "generate_contract_wrappers": "abi-gen --abis 'lib/src/artifacts/@(Exchange|IWallet|IValidator|DummyERC20Token|ERC20Proxy|ERC20Token).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers",
- "update_artifacts": "for i in ${npm_package_config_contracts_v2}; do copyfiles -u 4 ../migrations/artifacts/2.0.0-trimmed/$i.json lib/src/artifacts; done;",
"test": "yarn run_mocha",
"rebuild_and_test": "run-s build test",
"test:circleci": "yarn test:coverage",
"run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --bail --exit",
"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 lib lib/src/artifacts src/generated_contract_wrappers generated_docs",
- "lint": "tslint --project . --exclude **/src/generated_contract_wrappers/**/*",
+ "clean": "shx rm -rf lib generated_docs",
+ "lint": "tslint --project .",
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES"
},
"config": {
- "contracts_v2": "IWallet IValidator Exchange ERC20Proxy ERC20Token DummyERC20Token",
"postpublish": {
"assets": []
}
@@ -46,7 +42,6 @@
"chai": "^4.0.1",
"chai-as-promised": "^7.1.0",
"chai-bignumber": "^2.0.1",
- "copyfiles": "^2.0.0",
"dirty-chai": "^2.0.1",
"make-promises-safe": "^1.1.0",
"mocha": "^4.1.0",
@@ -58,8 +53,10 @@
"typescript": "3.0.1"
},
"dependencies": {
+ "@0xproject/abi-gen-wrappers": "^1.0.0",
"@0xproject/assert": "^1.0.13",
"@0xproject/base-contract": "^3.0.1",
+ "@0xproject/contract-artifacts": "^1.0.0",
"@0xproject/json-schemas": "^1.0.7",
"@0xproject/types": "^1.1.4",
"@0xproject/typescript-typings": "^3.0.2",