Skip to content

Commit aace2f3

Browse files
authored
chore: update babel dependencies (dequelabs#1443)
1 parent 22fb124 commit aace2f3

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

.babelrc

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
{
22
"presets": [
3-
"env"
3+
[
4+
"@babel/preset-env"
5+
]
46
],
57
"plugins": [
6-
"transform-object-rest-spread"
8+
[
9+
"@babel/plugin-proposal-object-rest-spread",
10+
{
11+
"loose": true
12+
}
13+
]
714
]
8-
}
15+
}

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module.exports = function(grunt) {
7373
clean: ['dist', 'tmp', 'axe.js', 'axe.*.js'],
7474
babel: {
7575
options: {
76-
compact: 'false'
76+
compact: false
7777
},
7878
core: {
7979
files: [

package.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,12 @@
7373
"fmt": "prettier --write *.{json,md,js} **/*.ts './{build,doc,lib,test}/**/*.{json,md,js,ts}'"
7474
},
7575
"devDependencies": {
76-
"@babel/core": "^7.2.2",
76+
"@babel/core": "^7.3.4",
77+
"@babel/plugin-proposal-object-rest-spread": "^7.3.4",
78+
"@babel/polyfill": "^7.2.5",
79+
"@babel/preset-env": "^7.3.4",
7780
"aria-query": "^3.0.0",
7881
"axios": "^0.18.0",
79-
"babel-core": "^6.26.0",
80-
"babel-plugin-transform-object-rest-spread": "^6.6.5",
81-
"babel-polyfill": "^6.7.4",
82-
"babel-preset-env": "^1.7.0",
8382
"babelify": "^10.0.0",
8483
"blanket": "~1.2.3",
8584
"browserify": "^16.2.3",
@@ -96,7 +95,7 @@
9695
"fs-extra": "^7.0.0",
9796
"globby": "^8.0.1",
9897
"grunt": "^1.0.3",
99-
"grunt-babel": "^7.0.0",
98+
"grunt-babel": "^8.0.0",
10099
"grunt-contrib-clean": "^2.0.0",
101100
"grunt-contrib-concat": "^1.0.1",
102101
"grunt-contrib-connect": "^2.0.0",

0 commit comments

Comments
 (0)