Browse Source

Upgrade to latest babel

JC Brand 7 years ago
parent
commit
124a45026f
3 changed files with 1085 additions and 737 deletions
  1. 5 5
      .babelrc
  2. 1077 726
      package-lock.json
  3. 3 6
      package.json

+ 5 - 5
.babelrc

@@ -1,9 +1,9 @@
 {
 {
   "presets": [
   "presets": [
-		["env", {
-			"targets": {
-				"browsers": ["last 2 versions", "safari >= 10", "IE 11"]
-			}
-		}]
+    ["@babel/preset-env", {
+      "targets": {
+		"browsers": ["last 2 versions", "safari >= 10", "IE >= 11"]
+      }
+    }]
   ]
   ]
 }
 }

File diff suppressed because it is too large
+ 1077 - 726
package-lock.json


+ 3 - 6
package.json

@@ -8,9 +8,6 @@
     "locale": "locale",
     "locale": "locale",
     "src": "src"
     "src": "src"
   },
   },
-  "scripts": {
-    "test": ""
-  },
   "repository": {
   "repository": {
     "type": "git",
     "type": "git",
     "url": "git://github.com/jcbrand/converse.js.git"
     "url": "git://github.com/jcbrand/converse.js.git"
@@ -32,11 +29,11 @@
     "browser": "*"
     "browser": "*"
   },
   },
   "devDependencies": {
   "devDependencies": {
+    "@babel/core": "^7.0.0-beta.32",
+    "@babel/preset-env": "^7.0.0-beta.32",
     "almond": "~0.3.3",
     "almond": "~0.3.3",
     "awesomplete-avoid-xss": "^1.1.2",
     "awesomplete-avoid-xss": "^1.1.2",
-    "babel-cli": "^6.18.0",
-    "babel-preset-env": "^1.5.2",
-    "babel-preset-latest": "^6.16.0",
+    "babel-cli": "^7.0.0-beta.3",
     "backbone": "1.3.3",
     "backbone": "1.3.3",
     "backbone.browserStorage": "0.0.3",
     "backbone.browserStorage": "0.0.3",
     "backbone.overview": "0.0.3",
     "backbone.overview": "0.0.3",

Some files were not shown because too many files changed in this diff