Skip to content

Commit

Permalink
add scripts to install babel6 and babel7 dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkvasnicak committed Jan 6, 2018
1 parent 2c5cdc6 commit 80879a6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions install-babel-6.sh
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

# fail on error
set -e

# remove babel core
yarn remove @babel/core

# install babel6
yarn add -D babel-cli@^6.26.0 babel-core@^6.26.0 babel-plugin-transform-object-rest-spread@^6.26.0 babel-preset-env@^1.6.1 babel-register@^6.26.0
7 changes: 7 additions & 0 deletions install-babel-7.sh
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

# fail on error
set -e

# install babel7 deps
yarn add -D babel-cli@^7.0.0-beta.3 babel-core@^7.0.0-beta.3 babel-register@^7.0.0-beta.3 babel-preset-env@^7.0.0-beta.3 @babel/core babel-plugin-transform-object-rest-spread@^7.0.0-beta.3 gulp-babel@7.0.0

0 comments on commit 80879a6

Please sign in to comment.