From 84766a4e195f1ddae4d6c9054804f98f0e53e732 Mon Sep 17 00:00:00 2001 From: Apostolof Date: Sat, 21 Nov 2020 21:51:42 +0200 Subject: [PATCH] Add npm script for migration without network --- packages/concordia-contracts/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/concordia-contracts/package.json b/packages/concordia-contracts/package.json index c495d6f..f4be42f 100644 --- a/packages/concordia-contracts/package.json +++ b/packages/concordia-contracts/package.json @@ -10,8 +10,9 @@ "_eslint": "yarn eslint . --format table", "_solhint": "yarn solhint --formatter table contracts/*.sol test/*.sol", "test": "yarn truffle test", - "migrate": "yarn truffle migrate --network develop", - "migrate-reset": "yarn truffle migrate --network develop --reset" + "migrate": "yarn _migrate --network develop", + "migrate-reset": "yarn _migrate --network develop --reset", + "_migrate": "yarn truffle migrate" }, "dependencies": { "@openzeppelin/contracts": "~3.2.0",