diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-17 08:36:37 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-17 08:36:37 +0800 |
commit | 251218af8b3947d0bad531d995dbb4e161058143 (patch) | |
tree | 5f72bf6b84d4b073333c0b7555ce97098eafaca5 /packages/migrations/package.json | |
parent | c06ed585823ec88b8330db253283fe0c4c4521fe (diff) | |
download | dexon-0x-contracts-251218af8b3947d0bad531d995dbb4e161058143.tar.gz dexon-0x-contracts-251218af8b3947d0bad531d995dbb4e161058143.tar.zst dexon-0x-contracts-251218af8b3947d0bad531d995dbb4e161058143.zip |
Use make-promises-safe to catch unhandled rejections in tests
Diffstat (limited to 'packages/migrations/package.json')
-rw-r--r-- | packages/migrations/package.json | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/migrations/package.json b/packages/migrations/package.json index b1925ed35..bbd5f32e7 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -2,7 +2,7 @@ "name": "@0xproject/migrations", "version": "0.0.5", "engines": { - "node" : ">=6.12" + "node": ">=6.12" }, "description": "0x smart contract migrations", "main": "lib/index.js", @@ -10,13 +10,12 @@ "scripts": { "watch": "tsc -w", "prebuild": "run-s clean compile copy_artifacts generate_contract_wrappers", - "copy_artifacts": "copyfiles -u 4 'artifacts/1.0.0/**/*' ./lib/src/artifacts", + "copy_artifacts": "copyfiles 'artifacts/1.0.0/**/*' ./lib", "build": "tsc", "clean": "shx rm -rf lib", "lint": "tslint --project .", "migrate": "run-s build compile script:migrate", "script:migrate": "node ./lib/migrate.js", - "copy_artifacts": "copyfiles 'artifacts/1.0.0/**/*' ./lib", "generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers && prettier --write 'src/contract_wrappers/**.ts'", "compile": "sol-compiler" }, @@ -27,16 +26,17 @@ "devDependencies": { "@0xproject/abi-gen": "^0.2.13", "@0xproject/dev-utils": "^0.4.1", - "@0xproject/types": "^0.6.3", "@0xproject/tslint-config": "^0.4.17", + "@0xproject/types": "^0.6.3", + "make-promises-safe": "^1.1.0", "npm-run-all": "^4.1.2", "shx": "^0.2.2", "tslint": "5.8.0", "typescript": "2.7.1" }, "dependencies": { - "@0xproject/sol-compiler": "^0.4.3", "@0xproject/base-contract": "^0.3.1", + "@0xproject/sol-compiler": "^0.4.3", "@0xproject/typescript-typings": "^0.3.1", "@0xproject/utils": "^0.6.1", "@0xproject/web3-wrapper": "^0.6.3", |