aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/package.json
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-10-02 09:22:42 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-10-16 04:36:09 +0800
commit026ad1f9a10359723eed54f37c067ee2a61d8fcd (patch)
treec14d09b25ae07473e9d5b516b21331a8ad5c3621 /packages/contract-wrappers/package.json
parent81c48872415998e53ad653aabf183e18257ec327 (diff)
downloaddexon-sol-tools-026ad1f9a10359723eed54f37c067ee2a61d8fcd.tar
dexon-sol-tools-026ad1f9a10359723eed54f37c067ee2a61d8fcd.tar.gz
dexon-sol-tools-026ad1f9a10359723eed54f37c067ee2a61d8fcd.tar.bz2
dexon-sol-tools-026ad1f9a10359723eed54f37c067ee2a61d8fcd.tar.lz
dexon-sol-tools-026ad1f9a10359723eed54f37c067ee2a61d8fcd.tar.xz
dexon-sol-tools-026ad1f9a10359723eed54f37c067ee2a61d8fcd.tar.zst
dexon-sol-tools-026ad1f9a10359723eed54f37c067ee2a61d8fcd.zip
Update contract-wrappers package to use new contracts package for generated files
Diffstat (limited to 'packages/contract-wrappers/package.json')
-rw-r--r--packages/contract-wrappers/package.json10
1 files changed, 3 insertions, 7 deletions
diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json
index 35f27d77c..70efccec6 100644
--- a/packages/contract-wrappers/package.json
+++ b/packages/contract-wrappers/package.json
@@ -11,24 +11,19 @@
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
"scripts": {
- "build": "yarn pre_build && tsc -b",
+ "build": "tsc -b",
"build:ci": "yarn build",
- "pre_build": "run-s update_artifacts generate_contract_wrappers copy_artifacts",
- "generate_contract_wrappers": "abi-gen --abis 'src/artifacts/@(Exchange|DummyERC20Token|DummyERC721Token|ZRXToken|ERC20Token|ERC721Token|WETH9|ERC20Proxy|ERC721Proxy|Forwarder|OrderValidator).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers",
"lint": "tslint --project . --exclude **/src/contract_wrappers/**/* --exclude **/lib/**/*",
"test:circleci": "run-s test:coverage",
"test": "yarn run_mocha",
"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",
- "update_artifacts": "for i in ${npm_package_config_contracts_v2}; do copyfiles -u 4 ../migrations/artifacts/2.0.0-trimmed/$i.json src/artifacts; done;",
- "copy_artifacts": "copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts",
- "clean": "shx rm -rf _bundles lib test_temp test/artifacts src/contract_wrappers/generated src/artifacts generated_docs",
+ "clean": "shx rm -rf _bundles lib test_temp generated_docs",
"run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit",
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES"
},
"config": {
- "contracts_v2": "AssetProxyOwner Exchange ERC20Proxy ERC20Token ERC721Proxy ERC721Token WETH9 ZRXToken Forwarder OrderValidator DummyERC20Token DummyERC721Token",
"postpublish": {
"assets": []
}
@@ -72,6 +67,7 @@
"web3-provider-engine": "14.0.6"
},
"dependencies": {
+ "@0xproject/contracts": "^2.0.0",
"@0xproject/assert": "^1.0.13",
"@0xproject/base-contract": "^3.0.1",
"@0xproject/fill-scenarios": "^1.0.7",