aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-02 12:45:02 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-02 13:31:11 +0800
commit11bf2a0e060a358476f35f4d0d4a081df0dc7f71 (patch)
tree5d9b4d1383e62ef5416438fb1666f3c677a99226 /packages
parent9485e4f4f38133141c32af3545a33c267222b851 (diff)
downloaddexon-sol-tools-11bf2a0e060a358476f35f4d0d4a081df0dc7f71.tar.gz
dexon-sol-tools-11bf2a0e060a358476f35f4d0d4a081df0dc7f71.tar.zst
dexon-sol-tools-11bf2a0e060a358476f35f4d0d4a081df0dc7f71.zip
Add depencies and a command to generate contract wrappers
Diffstat (limited to 'packages')
-rw-r--r--packages/0x.js/package.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json
index 97aff0581..1089e1a91 100644
--- a/packages/0x.js/package.json
+++ b/packages/0x.js/package.json
@@ -16,6 +16,7 @@
"build": "run-p build:umd:prod build:commonjs; exit 0;",
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_DIR",
"upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json",
+ "generate_contract_wrappers": "typed-contracts --abiGlob 'src/artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry).json' --templates ../typed-contracts-templates/ --output src/contract_wrappers/generated",
"lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'",
"test:circleci": "run-s test:coverage report_test_coverage && if [ $CIRCLE_BRANCH = \"development\" ]; then yarn test:umd; fi",
"test": "run-s clean test:commonjs",
@@ -45,6 +46,8 @@
},
"devDependencies": {
"@0xproject/tslint-config": "^0.2.0",
+ "@0xproject/typed-contracts": "^0.0.0",
+ "@0xproject/typed-contracts-templates": "^0.0.0",
"@types/bintrees": "^1.0.2",
"@types/jsonschema": "^1.1.1",
"@types/lodash": "^4.14.64",