From d1fe05e4fe982df6c9609a889c555d74f85be0cb Mon Sep 17 00:00:00 2001 From: Bruno Dias Date: Sun, 25 Jun 2017 17:42:28 -0300 Subject: [PATCH] [chore] use local babel instead of requiring a global installation. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0efda53e..429f2de7 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,8 @@ NPM=$(shell which npm) YARN=$(shell which yarn) JQ=$(shell which jq) -COVERALLS="./node_modules/coveralls/bin/coveralls.js" +BABEL=./node_modules/.bin/babel +COVERALLS=./node_modules/coveralls/bin/coveralls.js REMOTE="git@github.com:reactjs/react-modal" CURRENT_VERSION:=$(shell jq ".version" package.json) COVERAGE?=true @@ -86,7 +87,7 @@ changelog: compile: @echo "[Compiling source]" - babel src --out-dir lib + $(BABEL) src --out-dir lib build: compile @echo "[Building dists]"