Replace deprecated react-tools with babel

- Switch to babel, since react-tools has been deprecated since June 12,
2015. See
https://facebook.github.io/react/blog/2015/06/12/deprecating-jstransform
-and-react-tools.html

- Move babel command to "npm run build"

- Move commands for package into "bin/package.js"
This commit is contained in:
Feross Aboukhadijeh
2016-08-04 21:04:49 -07:00
parent 7752e41416
commit 29f8ef6b72
4 changed files with 18 additions and 4 deletions

5
.babelrc Normal file
View File

@@ -0,0 +1,5 @@
{
"presets": [
"react"
]
}