diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-13 05:13:24 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-13 05:13:24 +0800 |
commit | ef6aa9f41b9f21d033034c51e8880ec9d70b6b40 (patch) | |
tree | 2380bda47f84cab1214814766a800883d63587ac /packages/0x.js/package.json | |
parent | 745af5309d32a34e5f8c6a305f12ce31cb2379b1 (diff) | |
download | dexon-0x-contracts-ef6aa9f41b9f21d033034c51e8880ec9d70b6b40.tar.gz dexon-0x-contracts-ef6aa9f41b9f21d033034c51e8880ec9d70b6b40.tar.zst dexon-0x-contracts-ef6aa9f41b9f21d033034c51e8880ec9d70b6b40.zip |
Convert 0x.js scripts to TS, move the prepublishUtils script to `dev-utils` and also convert it to TS.
Diffstat (limited to 'packages/0x.js/package.json')
-rw-r--r-- | packages/0x.js/package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 53ddfd258..54f9ba1ad 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -14,7 +14,7 @@ "scripts": { "build:watch": "tsc -w", "prebuild": "run-s clean generate_contract_wrappers", - "build": "run-p build:umd:prod build:commonjs; exit 0;", + "build": "run-p build:scripts build:umd:prod build:commonjs; exit 0;", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES", "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": "node ../abi-gen/lib/index.js --abis 'src/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'", @@ -27,6 +27,7 @@ "clean": "shx rm -rf _bundles lib test_temp", "build:umd:prod": "NODE_ENV=production webpack", "build:commonjs": "tsc && copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts;", + "build:scripts": "tsc --p ./tsconfig_monorepo.json", "test:commonjs": "run-s build:commonjs run_mocha", "run_mocha": "mocha lib/test/**/*_test.js --timeout 10000 --bail --exit" }, |