diff --git a/.babelrc b/.babelrc index 51ac658..9ac92d7 100644 --- a/.babelrc +++ b/.babelrc @@ -1,4 +1,8 @@ { - "presets": ["es2015","es2017"], - "plugins": ["transform-object-rest-spread"] + "presets": [ + "@babel/preset-env" + ], + "plugins": [ + "@babel/plugin-proposal-object-rest-spread" + ] } diff --git a/package.json b/package.json index 2237b2c..4d5e0ef 100644 --- a/package.json +++ b/package.json @@ -1,56 +1,55 @@ { "name": "sylkrtc", "version": "1.6.0", "main": "lib/sylkrtc.js", "description": "SylkServer WebRTC Gateway client library", "repository": { "type": "git", "url": "git://github.com/AGProjects/sylkrtc.git" }, "keywords": [], "author": "AG Projects", "contributors": [ "Tijmen de Mes ", "Saúl Ibarra Corretgé " ], "license": "MIT", "readmeFilename": "README.md", "browserify": { "transform": [ "babelify" ] }, "dependencies": { "@rifflearning/attachmediastream": "^3.0.0", "blueimp-md5": "^2.19.0", "bowser": "^2.11.0", "debug": "^4.3.3", "dompurify": "^2.0.10", "openpgp": "tijmenNL/openpgpjs#4eb26e0", "regenerator-runtime": "^0.13.9", "sdp-transform": "^2.14.1", "uuid": "^7.0.3", "webrtc-adapter": "^6.4.8", "websocket": "^1.0.34" }, "devDependencies": { - "babel-core": "^6.26.3", - "babel-plugin-transform-object-rest-spread": "^6.26.0", - "babel-preset-es2015": "^6.9.0", - "babel-preset-es2017": "^6.24.1", - "babelify": "^8.0.0", + "@babel/core": "^7.0.0", + "@babel/plugin-proposal-object-rest-spread": "^7.0.0", + "@babel/preset-env": "^7.0.0", + "babelify": "^10.0.0", "browserify": "^16.5.1", "gulp": "^4.0.2", "gulp-filelog": "^0.4.1", "gulp-header": "^2.0.9", "gulp-jshint": "^2.0.1", "gulp-sourcemaps": "^2.6.1", "gulp-uglify": "^3.0.0", "jshint": "^2.13.4", "jshint-stylish": "^2.2.0", "minimist": "^1.2.0", "through2": "^3.0.1", "vinyl-buffer": "^1.0.0", "vinyl-source-stream": "^2.0.0" } }