diff --git a/.babelrc b/.babelrc index c13c5f6..1320b9a 100644 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,3 @@ { - "presets": ["es2015"] + "presets": ["@babel/preset-env"] } diff --git a/package.json b/package.json index c426e50..ae8cffc 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "build": "babel src -d build", "prepublish": "npm run build && npm test", - "test": "./node_modules/mocha/bin/mocha --compilers js:babel-core/register" + "test": "./node_modules/mocha/bin/mocha --compilers js:@babel/register" }, "repository": { "type": "git", @@ -25,9 +25,10 @@ }, "homepage": "https://github.com/misund/hex-to-rgba#readme", "devDependencies": { - "babel-cli": "^6.26.0", - "babel-preset-es2015": "^6.24.1", - "babel-register": "^6.26.0", + "@babel/cli": "^7.0.0-beta.42", + "@babel/core": "^7.0.0-beta.42", + "@babel/preset-env": "^7.0.0-beta.42", + "@babel/register": "^7.0.0-beta.42", "eslint": "4.8.0", "eslint-config-airbnb": "15.1.0", "eslint-plugin-import": "2.7.0",