Skip to content

Commit

Permalink
[chore] use local babel instead of requiring a global installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Jun 25, 2017
1 parent bb69a91 commit d1fe05e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]:reactjs/react-modal"
CURRENT_VERSION:=$(shell jq ".version" package.json)
COVERAGE?=true
Expand Down Expand Up @@ -86,7 +87,7 @@ changelog:

compile:
@echo "[Compiling source]"
babel src --out-dir lib
$(BABEL) src --out-dir lib

build: compile
@echo "[Building dists]"
Expand Down

0 comments on commit d1fe05e

Please sign in to comment.