aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-05-18 02:58:31 +0800
committerGitHub <noreply@github.com>2018-05-18 02:58:31 +0800
commita26cc7c14d4e59102d5f84d534f75c42b8683cad (patch)
tree9ba1037b78d53f4216878bda5a344ee2eb89231f /packages/migrations
parentcec76c33b6a33d2c36305bd581de628641c14d5e (diff)
parent251218af8b3947d0bad531d995dbb4e161058143 (diff)
downloaddexon-0x-contracts-a26cc7c14d4e59102d5f84d534f75c42b8683cad.tar.gz
dexon-0x-contracts-a26cc7c14d4e59102d5f84d534f75c42b8683cad.tar.zst
dexon-0x-contracts-a26cc7c14d4e59102d5f84d534f75c42b8683cad.zip
Merge pull request #597 from 0xProject/make-promises-safe
Use make-promises-safe to catch unhandled rejections in tests
Diffstat (limited to 'packages/migrations')
-rw-r--r--packages/migrations/package.json10
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",