Skip to content

Commit

Permalink
Update to babel 5
Browse files Browse the repository at this point in the history
  • Loading branch information
STRML committed Apr 2, 2015
1 parent f40e454 commit 51343fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
rm -rf ./build
./node_modules/.bin/babel --experimental ./lib --out-dir ./build
./node_modules/.bin/babel --stage 0 --out-dir ./build ./lib
# More cross-platform compatible than `rename`
find ./build -type f -name '*.jsx' -exec sh -c 'mv -f $0 ${0%.jsx}.js' {} \;

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"react-resizable": "^0.2.3"
},
"devDependencies": {
"babel": "^4.7.16",
"babel-core": "^4.7.16",
"babel-loader": "^4.3.0",
"babel-runtime": "^4.7.16",
"babel": "^5.0.1",
"babel-core": "^5.0.1",
"babel-loader": "^5.0.0",
"babel-runtime": "^5.0.1",
"css-loader": "^0.9.1",
"ejs": "^2.3.1",
"exports-loader": "^0.6.2",
Expand Down

0 comments on commit 51343fd

Please sign in to comment.