diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-07 01:20:35 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-07 01:20:35 +0800 |
commit | 037912ccab9f4692b32260fa5548963956efe1c9 (patch) | |
tree | 31789de928bf66ad9051b9ee3b1716c54094bd55 /packages/0x.js/package.json | |
parent | cea81df969160b7c33d52e54c668b0a2908750d7 (diff) | |
parent | af1d5fce6ea355b12bf5f63f51ea81ff596f7868 (diff) | |
download | dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.tar dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.tar.gz dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.tar.bz2 dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.tar.lz dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.tar.xz dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.tar.zst dexon-sol-tools-037912ccab9f4692b32260fa5548963956efe1c9.zip |
Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into feature/improve-linting
Diffstat (limited to 'packages/0x.js/package.json')
-rw-r--r-- | packages/0x.js/package.json | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 327536119..478cd69c1 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -15,9 +15,11 @@ "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "scripts": { - "watch": "tsc -w", - "prebuild": "run-s clean generate_contract_wrappers", - "build": "run-p build:umd:prod build:commonjs; exit 0;", + "watch_without_deps": "yarn pre_build && tsc -w", + "build": "yarn pre_build && yarn build:all && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", + "build:all": "run-p build:umd:prod build:commonjs; exit 0;", + "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 . --exclude **/src/contract_wrappers/generated/**/*", "test:circleci": "run-s test:coverage", |