Skip to content
Permalink
Browse files

Upgrade to Babel 7.

  • Loading branch information...
andrewmurph committed Feb 21, 2019
1 parent ca4c30d commit ef9e0769f19fafbc0e60300d09f9a6735de33289
Showing with 9 additions and 7 deletions.
  1. +4 −2 .babelrc
  2. +5 −5 package.json
@@ -1,3 +1,5 @@
{
"presets": ["env"]
}
"presets": [
"@babel/preset-env"
]
}
@@ -2,7 +2,7 @@
"name": "react-phoenix",
"version": "1.0.0",
"scripts": {
"release": "node ./node_modules/babel-cli/bin/babel src/react_phoenix.js | node ./node_modules/uglify-js/bin/uglifyjs - --mangle --compress --output priv/js/react_phoenix.js"
"release": "node ./node_modules/.bin/babel src/react_phoenix.js | node ./node_modules/uglify-js/bin/uglifyjs - --mangle --compress --output priv/js/react_phoenix.js"
},
"repository": {
"type": "git",
@@ -20,12 +20,12 @@
],
"homepage": "https://github.com/geolessel/react-phoenix#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"uglify-js": "^2.8.29"
},
"dependencies": {
},
"dependencies": {},
"peerDependencies": {
"react": ">=15",
"react-dom": ">=15"

0 comments on commit ef9e076

Please sign in to comment.
You can’t perform that action at this time.