diff options
author | Fabio Berger <me@fabioberger.com> | 2018-05-15 17:41:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-15 17:41:51 +0800 |
commit | 406e91d387f67b0eda48e9ab682814c8feffb5e1 (patch) | |
tree | 90e047171c2326d5a8c39164945c768858ca3302 /packages/contracts/package.json | |
parent | ca08dd9705c2aefb092b10926af359ed8fabac79 (diff) | |
parent | 473acafd1457a381405335dae80a3a8e810af17b (diff) | |
download | dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.tar dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.tar.gz dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.tar.bz2 dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.tar.lz dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.tar.xz dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.tar.zst dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.zip |
Merge pull request #588 from 0xProject/improvement/use-wsrun
Individual package building & watching!!! 💪 🌹
Diffstat (limited to 'packages/contracts/package.json')
-rw-r--r-- | packages/contracts/package.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 557effca2..cdd5417c4 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -8,7 +8,7 @@ "test": "test" }, "scripts": { - "build:watch": "tsc -w", + "watch": "tsc -w", "prebuild": "run-s clean copy_artifacts generate_contract_wrappers", "copy_artifacts": "copyfiles -u 4 '../migrations/artifacts/1.0.0/**/*' ./lib/src/artifacts;", "build": "tsc", @@ -16,9 +16,9 @@ "test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov", "run_mocha": "mocha 'lib/test/**/*.js' --timeout 100000 --bail --exit", "compile:comment": "Yarn workspaces do not link binaries correctly so we need to reference them directly https://github.com/yarnpkg/yarn/issues/3846", - "compile": "node ../sol-compiler/lib/src/cli.js", + "compile": "sol-compiler", "clean": "shx rm -rf lib src/contract_wrappers/generated", - "generate_contract_wrappers": "node ../abi-gen/lib/index.js --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'", + "generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --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 .", "coverage:report:text": "istanbul report text", "coverage:report:html": "istanbul report html && open coverage/index.html", @@ -39,6 +39,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/contracts/README.md", "devDependencies": { + "@0xproject/abi-gen": "^0.2.13", "@0xproject/dev-utils": "^0.4.1", "@0xproject/tslint-config": "^0.4.17", "@types/lodash": "4.14.104", |