Use babel 5 bin, not cached babel 6 cli

This commit is contained in:
Paul O’Shannessy
2016-03-21 19:14:14 -07:00
parent 6a072b3f81
commit 56e9ce8c91
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -19,7 +19,6 @@ before_install:
npm --version
script:
- |
npm ls --depth=0
if [ "$TEST_TYPE" = build_website ]; then
if [ "$TRAVIS_BRANCH" = "$REACT_WEBSITE_BRANCH" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then
set -e
+1 -1
View File
@@ -5,7 +5,7 @@ require('yaml')
desc "generate js from jsx"
task :js do
system "cp ../node_modules/babel/node_modules/babel-core/browser.min.js ./js/babel-browser.min.js"
system "../node_modules/.bin/babel _js --out-dir=js"
system "../node_modules/babel/bin/babel.js _js --out-dir=js"
end
desc "watch js"