From 45a90f83a3b023d65d643338189bc3b525ba93d8 Mon Sep 17 00:00:00 2001 From: abhayks1 Date: Mon, 9 Dec 2019 13:03:58 +0530 Subject: [PATCH] truffle compile should use node modules truffle version for contracts compilation --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6828f4a..f5e927e 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,8 @@ }, "scripts": { "build-package": "node tools/build_package.js", - "compile-all": "truffle compile --all", - "test": "truffle test", + "compile-all": "./node_modules/.bin/truffle compile --all", + "test": "./node_modules/.bin/truffle test", "prepack": "npm run compile-all && npm run build-package", "lint": "eslint migrations/*.js test/*/*.js tools/*.js -c .eslintrc" },