aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/package.json
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-30 09:36:00 +0800
committerGitHub <noreply@github.com>2018-06-30 09:36:00 +0800
commit6c34255a3e45a2f0b85dd7e9d925c7a789f603f1 (patch)
treea67cd2c3eb6434651dccef2cb21e65feda29b05f /packages/contracts/package.json
parent762c0143eb10306ca70b0f206e80eb9aed925f99 (diff)
parent41064adc6689deb8febcf833f6987957e845b477 (diff)
downloaddexon-sol-tools-6c34255a3e45a2f0b85dd7e9d925c7a789f603f1.tar
dexon-sol-tools-6c34255a3e45a2f0b85dd7e9d925c7a789f603f1.tar.gz
dexon-sol-tools-6c34255a3e45a2f0b85dd7e9d925c7a789f603f1.tar.bz2
dexon-sol-tools-6c34255a3e45a2f0b85dd7e9d925c7a789f603f1.tar.lz
dexon-sol-tools-6c34255a3e45a2f0b85dd7e9d925c7a789f603f1.tar.xz
dexon-sol-tools-6c34255a3e45a2f0b85dd7e9d925c7a789f603f1.tar.zst
dexon-sol-tools-6c34255a3e45a2f0b85dd7e9d925c7a789f603f1.zip
Merge pull request #781 from 0xProject/refactor/contracts/fileStructure
Update contracts file structure
Diffstat (limited to 'packages/contracts/package.json')
-rw-r--r--packages/contracts/package.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 1a26f3364..e0e82adc7 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -14,7 +14,7 @@
"watch_without_deps": "yarn pre_build && tsc -w",
"build": "yarn pre_build && tsc",
"pre_build": "run-s compile copy_artifacts generate_contract_wrappers",
- "copy_artifacts": "copyfiles -u 4 '../migrations/artifacts/2.0.0/**/*' ./lib/src/artifacts;",
+ "copy_artifacts": "copyfiles -u 4 '../migrations/artifacts/2.0.0/**/*' ./lib/artifacts;",
"test": "yarn run_mocha",
"rebuild_and_test": "run-s build test",
"test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov",
@@ -22,10 +22,10 @@
"test:trace": "SOLIDITY_REVERT_TRACE=true run-s build run_mocha",
"run_mocha":
"mocha --require source-map-support/register --require make-promises-safe 'lib/test/**/*.js' --timeout 100000 --bail --exit",
- "compile": "sol-compiler",
- "clean": "shx rm -rf lib src/generated_contract_wrappers",
+ "compile": "sol-compiler --contracts-dir src",
+ "clean": "shx rm -rf lib generated_contract_wrappers",
"generate_contract_wrappers":
- "abi-gen --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers",
+ "abi-gen --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output generated_contract_wrappers --backend ethers",
"lint": "tslint --project . --exclude **/src/generated_contract_wrappers/**/* --exclude **/lib/**/*",
"coverage:report:text": "istanbul report text",
"coverage:report:html": "istanbul report html && open coverage/index.html",