aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-09 18:49:01 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-09 18:49:01 +0800
commitba57c34adb0348af61210aa0bbee3e734b477f58 (patch)
tree3072010bad241890ed5f17490801b791b0b07bf8 /packages
parent936f6ac10fe55257d846204ce4e5bd39ca27c78d (diff)
downloaddexon-sol-tools-ba57c34adb0348af61210aa0bbee3e734b477f58.tar
dexon-sol-tools-ba57c34adb0348af61210aa0bbee3e734b477f58.tar.gz
dexon-sol-tools-ba57c34adb0348af61210aa0bbee3e734b477f58.tar.bz2
dexon-sol-tools-ba57c34adb0348af61210aa0bbee3e734b477f58.tar.lz
dexon-sol-tools-ba57c34adb0348af61210aa0bbee3e734b477f58.tar.xz
dexon-sol-tools-ba57c34adb0348af61210aa0bbee3e734b477f58.tar.zst
dexon-sol-tools-ba57c34adb0348af61210aa0bbee3e734b477f58.zip
Use system-independent rm command
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/package.json3
-rw-r--r--packages/deployer/package.json3
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 0bc5080c7..8e52a4bff 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -16,7 +16,7 @@
"run_mocha": "mocha 'lib/test/**/*.js' --timeout 10000 --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 ../deployer/lib/src/cli.js compile --contracts-dir src/contracts --artifacts-dir src/artifacts",
- "clean": "rm -rf ./lib",
+ "clean": "shx rm -rf ./lib",
"generate_contract_wrappers": "node ../abi-gen/lib/index.js --abis 'src/artifacts/@(DummyToken|TokenTransferProxy|Exchange|TokenRegistry|MultiSigWallet|MultiSigWalletWithTimeLock|MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress|TokenRegistry|ZRXToken).json' --template contract_templates/contract.handlebars --partials 'contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated",
"migrate": "node ../deployer/lib/src/cli.js migrate",
"lint": "tslint --project . 'migrations/**/*.ts' 'test/**/*.ts' 'util/**/*.ts' 'deploy/**/*.ts'",
@@ -51,6 +51,7 @@
"mocha": "^4.0.1",
"npm-run-all": "^4.1.2",
"solc": "^0.4.18",
+ "shx": "^0.2.2",
"tslint": "5.8.0",
"types-bn": "^0.0.1",
"types-ethereumjs-util": "0xProject/types-ethereumjs-util",
diff --git a/packages/deployer/package.json b/packages/deployer/package.json
index 6564d89eb..c0a4f369b 100644
--- a/packages/deployer/package.json
+++ b/packages/deployer/package.json
@@ -9,7 +9,7 @@
"build": "yarn clean && copyfiles 'test/fixtures/contracts/**/*' src/solc/solc_bin/* ./lib && tsc",
"test": "npm run build; mocha lib/test/*_test.js",
"compile": "npm run build; node lib/src/cli.js compile",
- "clean": "rm -rf ./lib",
+ "clean": "shx rm -rf ./lib",
"migrate": "npm run build; node lib/src/cli.js migrate",
"lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'",
"test:circleci": "yarn test"
@@ -29,6 +29,7 @@
"homepage": "https://github.com/0xProject/0x.js/packages/deployer/README.md",
"devDependencies": {
"copyfiles": "^1.2.0",
+ "shx": "^0.2.2",
"types-bn": "^0.0.1",
"typescript": "2.7.1",
"web3-typescript-typings": "^0.9.9"