Browse Source

Remove Backbone.View related dependencies from headless package

JC Brand 6 years ago
parent
commit
3f7ffd025a
5 changed files with 9 additions and 9 deletions
  1. 5 2
      package-lock.json
  2. 1 0
      package.json
  3. 1 0
      src/converse-chatboxviews.js
  4. 0 1
      src/headless/converse-core.js
  5. 2 6
      src/headless/package.json

+ 5 - 2
package-lock.json

@@ -16848,7 +16848,10 @@
       }
     },
     "strophe.js": {
-      "version": "github:strophe/strophejs#a2692dcfdaf7d591254ac73f3d8584992b6f8da7"
+      "version": "1.3.0",
+      "resolved": "https://registry.npmjs.org/strophe.js/-/strophe.js-1.3.0.tgz",
+      "integrity": "sha512-1NSLqtpHevIGb0xQEY33XqaH+/cfrKenLwD5Vwn9QqY/cB21JGDUNg5afhDePXlaFViWHE6M80UkfIzQLbUGKQ==",
+      "dev": true
     },
     "strophejs-plugin-ping": {
       "version": "0.0.3",
@@ -16856,7 +16859,7 @@
       "integrity": "sha512-HS/ArEGKXfu36fihjUSfjqmqOSyppQTJUbrkfEtOBRJmnaP3LsRRe5T2S3dmCdsWHKORaJYc/OHSKfFlxHPdqw==",
       "dev": true,
       "requires": {
-        "strophe.js": "github:strophe/strophejs#a2692dcfdaf7d591254ac73f3d8584992b6f8da7"
+        "strophe.js": "1.3.0"
       }
     },
     "strophejs-plugin-register": {

+ 1 - 0
package.json

@@ -79,6 +79,7 @@
     "sinon": "^2.1.0",
     "sizzle": "^2.3.3",
     "snabbdom": "0.7.1",
+    "strophe.js": "1.3.0",
     "strophejs-plugin-ping": "0.0.3",
     "strophejs-plugin-register": "0.0.1",
     "strophejs-plugin-rsm": "0.0.2",

+ 1 - 0
src/converse-chatboxviews.js

@@ -9,6 +9,7 @@
         "@converse/headless/converse-core",
         "templates/chatboxes.html",
         "@converse/headless/converse-chatboxes",
+        "backbone.nativeview",
         "backbone.overview"
     ], factory);
 }(this, function (converse, tpl_chatboxes) {

+ 0 - 1
src/headless/converse-core.js

@@ -16,7 +16,6 @@
             "strophe.js",
             "pluggable.js/dist/pluggable",
             "./backbone.noconflict",
-            "backbone.nativeview",
             "backbone.browserStorage"
     ], factory);
 }(this, function (sizzle, Promise, _, f, polyfill, i18n, u, moment, Strophe, pluggable, Backbone) {

+ 2 - 6
src/headless/package.json

@@ -24,19 +24,15 @@
   "dependencies": {
     "backbone": "1.3.3",
     "backbone.browserStorage": "0.0.4",
-    "backbone.nativeview": "^0.3.3",
-    "backbone.overview": "^1.0.2",
-    "backbone.vdomview": "^1.0.1",
     "es6-promise": "^4.1.0",
     "filesize": "^3.6.1",
-    "jed": "1.1.1",
     "lodash": "4.17.10",
     "moment": "~> 2.19.3 ",
     "pluggable.js": "2.0.0",
-    "sizzle": "^2.3.3",
-    "strophe.js": "strophe/strophejs#a2692dcfdaf7d591254ac73f3d8584992b6f8da7",
+    "strophe.js": "1.3.0",
     "strophejs-plugin-ping": "0.0.3",
     "strophejs-plugin-rsm": "0.0.2",
+    "twemoji": "^11.0.1",
     "urijs": "^1.19.1"
   }
 }