Преглед изворни кода

Use browser version of the Matrix SDK

Brendan Abolivier пре 7 година
родитељ
комит
a30fd98b12
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
6 измењених фајлова са 204 додато и 401 уклоњено
  1. 173
    396
      package-lock.json
  2. 2
    2
      package.json
  3. 1
    0
      src/index.html
  4. 14
    0
      src/lib/browser-matrix.min.js
  5. 1
    0
      src/lib/browser-matrix.min.js.map
  6. 13
    3
      webpack.config.js

+ 173
- 396
package-lock.json Прегледај датотеку

@@ -31,6 +31,7 @@
31 31
       "version": "5.2.3",
32 32
       "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.2.3.tgz",
33 33
       "integrity": "sha1-wG9Zh3jETGsWGrr+NGa4GtGBTtI=",
34
+      "dev": true,
34 35
       "requires": {
35 36
         "co": "4.6.0",
36 37
         "fast-deep-equal": "1.0.0",
@@ -55,11 +56,6 @@
55 56
         "repeat-string": "1.6.1"
56 57
       }
57 58
     },
58
-    "another-json": {
59
-      "version": "0.2.0",
60
-      "resolved": "https://registry.npmjs.org/another-json/-/another-json-0.2.0.tgz",
61
-      "integrity": "sha1-tfQBnJc7bdXGUGotk0acttMq7tw="
62
-    },
63 59
     "ansi-regex": {
64 60
       "version": "2.1.1",
65 61
       "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
@@ -103,11 +99,6 @@
103 99
       "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=",
104 100
       "dev": true
105 101
     },
106
-    "asn1": {
107
-      "version": "0.2.3",
108
-      "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz",
109
-      "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y="
110
-    },
111 102
     "asn1.js": {
112 103
       "version": "4.9.1",
113 104
       "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.9.1.tgz",
@@ -128,11 +119,6 @@
128 119
         "util": "0.10.3"
129 120
       }
130 121
     },
131
-    "assert-plus": {
132
-      "version": "1.0.0",
133
-      "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
134
-      "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
135
-    },
136 122
     "async": {
137 123
       "version": "2.5.0",
138 124
       "resolved": "https://registry.npmjs.org/async/-/async-2.5.0.tgz",
@@ -148,21 +134,6 @@
148 134
       "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=",
149 135
       "dev": true
150 136
     },
151
-    "asynckit": {
152
-      "version": "0.4.0",
153
-      "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
154
-      "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
155
-    },
156
-    "aws-sign2": {
157
-      "version": "0.7.0",
158
-      "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
159
-      "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
160
-    },
161
-    "aws4": {
162
-      "version": "1.6.0",
163
-      "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz",
164
-      "integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4="
165
-    },
166 137
     "babel-code-frame": {
167 138
       "version": "6.26.0",
168 139
       "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",
@@ -696,7 +667,6 @@
696 667
       "version": "6.26.0",
697 668
       "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz",
698 669
       "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=",
699
-      "dev": true,
700 670
       "requires": {
701 671
         "babel-runtime": "6.26.0",
702 672
         "core-js": "2.5.1",
@@ -706,8 +676,7 @@
706 676
         "regenerator-runtime": {
707 677
           "version": "0.10.5",
708 678
           "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz",
709
-          "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=",
710
-          "dev": true
679
+          "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg="
711 680
         }
712 681
       }
713 682
     },
@@ -749,38 +718,6 @@
749 718
         "semver": "5.4.1"
750 719
       }
751 720
     },
752
-    "babel-preset-es2015": {
753
-      "version": "6.24.1",
754
-      "resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz",
755
-      "integrity": "sha1-1EBQ1rwsn+6nAqrzjXJ6AhBTiTk=",
756
-      "dev": true,
757
-      "requires": {
758
-        "babel-plugin-check-es2015-constants": "6.22.0",
759
-        "babel-plugin-transform-es2015-arrow-functions": "6.22.0",
760
-        "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0",
761
-        "babel-plugin-transform-es2015-block-scoping": "6.26.0",
762
-        "babel-plugin-transform-es2015-classes": "6.24.1",
763
-        "babel-plugin-transform-es2015-computed-properties": "6.24.1",
764
-        "babel-plugin-transform-es2015-destructuring": "6.23.0",
765
-        "babel-plugin-transform-es2015-duplicate-keys": "6.24.1",
766
-        "babel-plugin-transform-es2015-for-of": "6.23.0",
767
-        "babel-plugin-transform-es2015-function-name": "6.24.1",
768
-        "babel-plugin-transform-es2015-literals": "6.22.0",
769
-        "babel-plugin-transform-es2015-modules-amd": "6.24.1",
770
-        "babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
771
-        "babel-plugin-transform-es2015-modules-systemjs": "6.24.1",
772
-        "babel-plugin-transform-es2015-modules-umd": "6.24.1",
773
-        "babel-plugin-transform-es2015-object-super": "6.24.1",
774
-        "babel-plugin-transform-es2015-parameters": "6.24.1",
775
-        "babel-plugin-transform-es2015-shorthand-properties": "6.24.1",
776
-        "babel-plugin-transform-es2015-spread": "6.22.0",
777
-        "babel-plugin-transform-es2015-sticky-regex": "6.24.1",
778
-        "babel-plugin-transform-es2015-template-literals": "6.22.0",
779
-        "babel-plugin-transform-es2015-typeof-symbol": "6.23.0",
780
-        "babel-plugin-transform-es2015-unicode-regex": "6.24.1",
781
-        "babel-plugin-transform-regenerator": "6.26.0"
782
-      }
783
-    },
784 721
     "babel-preset-flow": {
785 722
       "version": "6.23.0",
786 723
       "resolved": "https://registry.npmjs.org/babel-preset-flow/-/babel-preset-flow-6.23.0.tgz",
@@ -809,7 +746,6 @@
809 746
       "version": "6.26.0",
810 747
       "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
811 748
       "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
812
-      "dev": true,
813 749
       "requires": {
814 750
         "core-js": "2.5.1",
815 751
         "regenerator-runtime": "0.11.0"
@@ -875,15 +811,6 @@
875 811
       "integrity": "sha512-dwVUVIXsBZXwTuwnXI9RK8sBmgq09NDHzyR9SAph9eqk76gKK2JSQmZARC2zRC81JC2QTtxD0ARU5qTS25gIGw==",
876 812
       "dev": true
877 813
     },
878
-    "bcrypt-pbkdf": {
879
-      "version": "1.0.1",
880
-      "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz",
881
-      "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=",
882
-      "optional": true,
883
-      "requires": {
884
-        "tweetnacl": "0.14.5"
885
-      }
886
-    },
887 814
     "big.js": {
888 815
       "version": "3.2.0",
889 816
       "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz",
@@ -899,7 +826,8 @@
899 826
     "bluebird": {
900 827
       "version": "3.5.0",
901 828
       "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.0.tgz",
902
-      "integrity": "sha1-eRQg1/VR7qKJdFOop3ZT+WYG1nw="
829
+      "integrity": "sha1-eRQg1/VR7qKJdFOop3ZT+WYG1nw=",
830
+      "dev": true
903 831
     },
904 832
     "bn.js": {
905 833
       "version": "4.11.8",
@@ -913,14 +841,6 @@
913 841
       "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=",
914 842
       "dev": true
915 843
     },
916
-    "boom": {
917
-      "version": "4.3.1",
918
-      "resolved": "https://registry.npmjs.org/boom/-/boom-4.3.1.tgz",
919
-      "integrity": "sha1-T4owBctKfjiJ90kDD9JbluAdLjE=",
920
-      "requires": {
921
-        "hoek": "4.2.0"
922
-      }
923
-    },
924 844
     "brace-expansion": {
925 845
       "version": "1.1.8",
926 846
       "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz",
@@ -948,11 +868,6 @@
948 868
       "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=",
949 869
       "dev": true
950 870
     },
951
-    "browser-request": {
952
-      "version": "0.3.3",
953
-      "resolved": "https://registry.npmjs.org/browser-request/-/browser-request-0.3.3.tgz",
954
-      "integrity": "sha1-ns5bWsqJopkyJC4Yv5M975h2zBc="
955
-    },
956 871
     "browserify-aes": {
957 872
       "version": "1.0.8",
958 873
       "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.0.8.tgz",
@@ -1084,11 +999,6 @@
1084 999
       "integrity": "sha1-GCDDya25oRfjEaW9yh0lvDQojro=",
1085 1000
       "dev": true
1086 1001
     },
1087
-    "caseless": {
1088
-      "version": "0.12.0",
1089
-      "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
1090
-      "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
1091
-    },
1092 1002
     "center-align": {
1093 1003
       "version": "0.1.3",
1094 1004
       "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz",
@@ -1161,7 +1071,8 @@
1161 1071
     "co": {
1162 1072
       "version": "4.6.0",
1163 1073
       "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
1164
-      "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ="
1074
+      "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=",
1075
+      "dev": true
1165 1076
     },
1166 1077
     "code-point-at": {
1167 1078
       "version": "1.1.0",
@@ -1169,14 +1080,6 @@
1169 1080
       "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
1170 1081
       "dev": true
1171 1082
     },
1172
-    "combined-stream": {
1173
-      "version": "1.0.5",
1174
-      "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz",
1175
-      "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=",
1176
-      "requires": {
1177
-        "delayed-stream": "1.0.0"
1178
-      }
1179
-    },
1180 1083
     "commander": {
1181 1084
       "version": "2.11.0",
1182 1085
       "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz",
@@ -1210,27 +1113,86 @@
1210 1113
       "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=",
1211 1114
       "dev": true
1212 1115
     },
1213
-    "content-type": {
1214
-      "version": "1.0.4",
1215
-      "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
1216
-      "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
1217
-    },
1218 1116
     "convert-source-map": {
1219 1117
       "version": "1.5.0",
1220 1118
       "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz",
1221 1119
       "integrity": "sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU=",
1222 1120
       "dev": true
1223 1121
     },
1122
+    "copy-webpack-plugin": {
1123
+      "version": "4.0.1",
1124
+      "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.0.1.tgz",
1125
+      "integrity": "sha1-lyjjg7lDFgUNDHRjlY8rhcCqggA=",
1126
+      "dev": true,
1127
+      "requires": {
1128
+        "bluebird": "2.11.0",
1129
+        "fs-extra": "0.26.7",
1130
+        "glob": "6.0.4",
1131
+        "is-glob": "3.1.0",
1132
+        "loader-utils": "0.2.17",
1133
+        "lodash": "4.17.4",
1134
+        "minimatch": "3.0.4",
1135
+        "node-dir": "0.1.17"
1136
+      },
1137
+      "dependencies": {
1138
+        "bluebird": {
1139
+          "version": "2.11.0",
1140
+          "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-2.11.0.tgz",
1141
+          "integrity": "sha1-U0uQM8AiyVecVro7Plpcqvu2UOE=",
1142
+          "dev": true
1143
+        },
1144
+        "glob": {
1145
+          "version": "6.0.4",
1146
+          "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz",
1147
+          "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=",
1148
+          "dev": true,
1149
+          "requires": {
1150
+            "inflight": "1.0.6",
1151
+            "inherits": "2.0.3",
1152
+            "minimatch": "3.0.4",
1153
+            "once": "1.4.0",
1154
+            "path-is-absolute": "1.0.1"
1155
+          }
1156
+        },
1157
+        "is-extglob": {
1158
+          "version": "2.1.1",
1159
+          "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
1160
+          "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
1161
+          "dev": true
1162
+        },
1163
+        "is-glob": {
1164
+          "version": "3.1.0",
1165
+          "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
1166
+          "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",
1167
+          "dev": true,
1168
+          "requires": {
1169
+            "is-extglob": "2.1.1"
1170
+          }
1171
+        },
1172
+        "loader-utils": {
1173
+          "version": "0.2.17",
1174
+          "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz",
1175
+          "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=",
1176
+          "dev": true,
1177
+          "requires": {
1178
+            "big.js": "3.2.0",
1179
+            "emojis-list": "2.1.0",
1180
+            "json5": "0.5.1",
1181
+            "object-assign": "4.1.1"
1182
+          }
1183
+        }
1184
+      }
1185
+    },
1224 1186
     "core-js": {
1225 1187
       "version": "2.5.1",
1226 1188
       "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.1.tgz",
1227
-      "integrity": "sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs=",
1228
-      "dev": true
1189
+      "integrity": "sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs="
1229 1190
     },
1230 1191
     "core-util-is": {
1231 1192
       "version": "1.0.2",
1232 1193
       "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
1233
-      "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
1194
+      "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
1195
+      "dev": true
1234 1196
     },
1235 1197
     "create-ecdh": {
1236 1198
       "version": "4.0.0",
@@ -1279,24 +1241,6 @@
1279 1241
         "which": "1.3.0"
1280 1242
       }
1281 1243
     },
1282
-    "cryptiles": {
1283
-      "version": "3.1.2",
1284
-      "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-3.1.2.tgz",
1285
-      "integrity": "sha1-qJ+7Ig9c4l7FboxKqKT9e1sNKf4=",
1286
-      "requires": {
1287
-        "boom": "5.2.0"
1288
-      },
1289
-      "dependencies": {
1290
-        "boom": {
1291
-          "version": "5.2.0",
1292
-          "resolved": "https://registry.npmjs.org/boom/-/boom-5.2.0.tgz",
1293
-          "integrity": "sha512-Z5BTk6ZRe4tXXQlkqftmsAUANpXmuwlsF5Oov8ThoMbQRzdGTA1ngYRW160GexgOgjsFOKJz0LYhoNi+2AMBUw==",
1294
-          "requires": {
1295
-            "hoek": "4.2.0"
1296
-          }
1297
-        }
1298
-      }
1299
-    },
1300 1244
     "crypto-browserify": {
1301 1245
       "version": "3.11.1",
1302 1246
       "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.11.1.tgz",
@@ -1342,14 +1286,6 @@
1342 1286
         "es5-ext": "0.10.30"
1343 1287
       }
1344 1288
     },
1345
-    "dashdash": {
1346
-      "version": "1.14.1",
1347
-      "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
1348
-      "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
1349
-      "requires": {
1350
-        "assert-plus": "1.0.0"
1351
-      }
1352
-    },
1353 1289
     "date-now": {
1354 1290
       "version": "0.1.4",
1355 1291
       "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",
@@ -1371,11 +1307,6 @@
1371 1307
       "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",
1372 1308
       "dev": true
1373 1309
     },
1374
-    "delayed-stream": {
1375
-      "version": "1.0.0",
1376
-      "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
1377
-      "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
1378
-    },
1379 1310
     "des.js": {
1380 1311
       "version": "1.0.0",
1381 1312
       "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz",
@@ -1472,15 +1403,6 @@
1472 1403
         "domelementtype": "1.3.0"
1473 1404
       }
1474 1405
     },
1475
-    "ecc-jsbn": {
1476
-      "version": "0.1.1",
1477
-      "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz",
1478
-      "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=",
1479
-      "optional": true,
1480
-      "requires": {
1481
-        "jsbn": "0.1.1"
1482
-      }
1483
-    },
1484 1406
     "electron-to-chromium": {
1485 1407
       "version": "1.3.22",
1486 1408
       "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.22.tgz",
@@ -1713,11 +1635,6 @@
1713 1635
         "fill-range": "2.2.3"
1714 1636
       }
1715 1637
     },
1716
-    "extend": {
1717
-      "version": "3.0.1",
1718
-      "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz",
1719
-      "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ="
1720
-    },
1721 1638
     "extglob": {
1722 1639
       "version": "0.3.2",
1723 1640
       "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz",
@@ -1727,15 +1644,11 @@
1727 1644
         "is-extglob": "1.0.0"
1728 1645
       }
1729 1646
     },
1730
-    "extsprintf": {
1731
-      "version": "1.3.0",
1732
-      "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
1733
-      "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
1734
-    },
1735 1647
     "fast-deep-equal": {
1736 1648
       "version": "1.0.0",
1737 1649
       "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz",
1738
-      "integrity": "sha1-liVqO8l1WV6zbYLpkp0GDYk0Of8="
1650
+      "integrity": "sha1-liVqO8l1WV6zbYLpkp0GDYk0Of8=",
1651
+      "dev": true
1739 1652
     },
1740 1653
     "filename-regex": {
1741 1654
       "version": "2.0.1",
@@ -1797,21 +1710,25 @@
1797 1710
         "for-in": "1.0.2"
1798 1711
       }
1799 1712
     },
1800
-    "forever-agent": {
1801
-      "version": "0.6.1",
1802
-      "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
1803
-      "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
1804
-    },
1805
-    "form-data": {
1806
-      "version": "2.3.1",
1807
-      "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.1.tgz",
1808
-      "integrity": "sha1-b7lPvXGIUwbXPRXMSX/kzE7NRL8=",
1713
+    "fs-extra": {
1714
+      "version": "0.26.7",
1715
+      "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.26.7.tgz",
1716
+      "integrity": "sha1-muH92UiXeY7at20JGM9C0MMYT6k=",
1717
+      "dev": true,
1809 1718
       "requires": {
1810
-        "asynckit": "0.4.0",
1811
-        "combined-stream": "1.0.5",
1812
-        "mime-types": "2.1.17"
1719
+        "graceful-fs": "4.1.11",
1720
+        "jsonfile": "2.4.0",
1721
+        "klaw": "1.3.1",
1722
+        "path-is-absolute": "1.0.1",
1723
+        "rimraf": "2.6.2"
1813 1724
       }
1814 1725
     },
1726
+    "fs.realpath": {
1727
+      "version": "1.0.0",
1728
+      "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
1729
+      "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
1730
+      "dev": true
1731
+    },
1815 1732
     "get-caller-file": {
1816 1733
       "version": "1.0.2",
1817 1734
       "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz",
@@ -1824,12 +1741,18 @@
1824 1741
       "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=",
1825 1742
       "dev": true
1826 1743
     },
1827
-    "getpass": {
1828
-      "version": "0.1.7",
1829
-      "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
1830
-      "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
1744
+    "glob": {
1745
+      "version": "7.1.2",
1746
+      "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
1747
+      "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
1748
+      "dev": true,
1831 1749
       "requires": {
1832
-        "assert-plus": "1.0.0"
1750
+        "fs.realpath": "1.0.0",
1751
+        "inflight": "1.0.6",
1752
+        "inherits": "2.0.3",
1753
+        "minimatch": "3.0.4",
1754
+        "once": "1.4.0",
1755
+        "path-is-absolute": "1.0.1"
1833 1756
       }
1834 1757
     },
1835 1758
     "glob-base": {
@@ -1863,20 +1786,6 @@
1863 1786
       "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
1864 1787
       "dev": true
1865 1788
     },
1866
-    "har-schema": {
1867
-      "version": "2.0.0",
1868
-      "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
1869
-      "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
1870
-    },
1871
-    "har-validator": {
1872
-      "version": "5.0.3",
1873
-      "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz",
1874
-      "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=",
1875
-      "requires": {
1876
-        "ajv": "5.2.3",
1877
-        "har-schema": "2.0.0"
1878
-      }
1879
-    },
1880 1789
     "has-ansi": {
1881 1790
       "version": "2.0.0",
1882 1791
       "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
@@ -1911,17 +1820,6 @@
1911 1820
         "minimalistic-assert": "1.0.0"
1912 1821
       }
1913 1822
     },
1914
-    "hawk": {
1915
-      "version": "6.0.2",
1916
-      "resolved": "https://registry.npmjs.org/hawk/-/hawk-6.0.2.tgz",
1917
-      "integrity": "sha512-miowhl2+U7Qle4vdLqDdPt9m09K6yZhkLDTWGoUiUzrQCn+mHHSmfJgAyGaLRZbPmTqfFFjRV1QWCW0VWUJBbQ==",
1918
-      "requires": {
1919
-        "boom": "4.3.1",
1920
-        "cryptiles": "3.1.2",
1921
-        "hoek": "4.2.0",
1922
-        "sntp": "2.0.2"
1923
-      }
1924
-    },
1925 1823
     "he": {
1926 1824
       "version": "1.1.1",
1927 1825
       "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz",
@@ -1939,11 +1837,6 @@
1939 1837
         "minimalistic-crypto-utils": "1.0.1"
1940 1838
       }
1941 1839
     },
1942
-    "hoek": {
1943
-      "version": "4.2.0",
1944
-      "resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.0.tgz",
1945
-      "integrity": "sha512-v0XCLxICi9nPfYrS9RL8HbYnXi9obYAeLbSP00BmnZwCK9+Ih9WOjoZ8YoHCoav2csqn4FOz4Orldsy2dmDwmQ=="
1946
-    },
1947 1840
     "home-or-tmp": {
1948 1841
       "version": "2.0.0",
1949 1842
       "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz",
@@ -2063,16 +1956,6 @@
2063 1956
         }
2064 1957
       }
2065 1958
     },
2066
-    "http-signature": {
2067
-      "version": "1.2.0",
2068
-      "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
2069
-      "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
2070
-      "requires": {
2071
-        "assert-plus": "1.0.0",
2072
-        "jsprim": "1.4.1",
2073
-        "sshpk": "1.13.1"
2074
-      }
2075
-    },
2076 1959
     "https-browserify": {
2077 1960
       "version": "0.0.1",
2078 1961
       "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-0.0.1.tgz",
@@ -2091,6 +1974,16 @@
2091 1974
       "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=",
2092 1975
       "dev": true
2093 1976
     },
1977
+    "inflight": {
1978
+      "version": "1.0.6",
1979
+      "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
1980
+      "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
1981
+      "dev": true,
1982
+      "requires": {
1983
+        "once": "1.4.0",
1984
+        "wrappy": "1.0.2"
1985
+      }
1986
+    },
2094 1987
     "inherits": {
2095 1988
       "version": "2.0.3",
2096 1989
       "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
@@ -2229,11 +2122,6 @@
2229 2122
       "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
2230 2123
       "dev": true
2231 2124
     },
2232
-    "is-typedarray": {
2233
-      "version": "1.0.0",
2234
-      "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
2235
-      "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
2236
-    },
2237 2125
     "isarray": {
2238 2126
       "version": "1.0.0",
2239 2127
       "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
@@ -2255,23 +2143,12 @@
2255 2143
         "isarray": "1.0.0"
2256 2144
       }
2257 2145
     },
2258
-    "isstream": {
2259
-      "version": "0.1.2",
2260
-      "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
2261
-      "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
2262
-    },
2263 2146
     "js-tokens": {
2264 2147
       "version": "3.0.2",
2265 2148
       "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
2266 2149
       "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=",
2267 2150
       "dev": true
2268 2151
     },
2269
-    "jsbn": {
2270
-      "version": "0.1.1",
2271
-      "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
2272
-      "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",
2273
-      "optional": true
2274
-    },
2275 2152
     "jsesc": {
2276 2153
       "version": "1.3.0",
2277 2154
       "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
@@ -2284,50 +2161,41 @@
2284 2161
       "integrity": "sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w==",
2285 2162
       "dev": true
2286 2163
     },
2287
-    "json-schema": {
2288
-      "version": "0.2.3",
2289
-      "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
2290
-      "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
2291
-    },
2292 2164
     "json-schema-traverse": {
2293 2165
       "version": "0.3.1",
2294 2166
       "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz",
2295
-      "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A="
2167
+      "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=",
2168
+      "dev": true
2296 2169
     },
2297 2170
     "json-stable-stringify": {
2298 2171
       "version": "1.0.1",
2299 2172
       "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz",
2300 2173
       "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=",
2174
+      "dev": true,
2301 2175
       "requires": {
2302 2176
         "jsonify": "0.0.0"
2303 2177
       }
2304 2178
     },
2305
-    "json-stringify-safe": {
2306
-      "version": "5.0.1",
2307
-      "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
2308
-      "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
2309
-    },
2310 2179
     "json5": {
2311 2180
       "version": "0.5.1",
2312 2181
       "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
2313 2182
       "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
2314 2183
       "dev": true
2315 2184
     },
2185
+    "jsonfile": {
2186
+      "version": "2.4.0",
2187
+      "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
2188
+      "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=",
2189
+      "dev": true,
2190
+      "requires": {
2191
+        "graceful-fs": "4.1.11"
2192
+      }
2193
+    },
2316 2194
     "jsonify": {
2317 2195
       "version": "0.0.0",
2318 2196
       "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz",
2319
-      "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM="
2320
-    },
2321
-    "jsprim": {
2322
-      "version": "1.4.1",
2323
-      "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
2324
-      "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
2325
-      "requires": {
2326
-        "assert-plus": "1.0.0",
2327
-        "extsprintf": "1.3.0",
2328
-        "json-schema": "0.2.3",
2329
-        "verror": "1.10.0"
2330
-      }
2197
+      "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=",
2198
+      "dev": true
2331 2199
     },
2332 2200
     "kind-of": {
2333 2201
       "version": "3.2.2",
@@ -2338,6 +2206,15 @@
2338 2206
         "is-buffer": "1.1.5"
2339 2207
       }
2340 2208
     },
2209
+    "klaw": {
2210
+      "version": "1.3.1",
2211
+      "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz",
2212
+      "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=",
2213
+      "dev": true,
2214
+      "requires": {
2215
+        "graceful-fs": "4.1.11"
2216
+      }
2217
+    },
2341 2218
     "lazy-cache": {
2342 2219
       "version": "1.0.4",
2343 2220
       "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz",
@@ -2438,18 +2315,6 @@
2438 2315
         "pify": "2.3.0"
2439 2316
       }
2440 2317
     },
2441
-    "matrix-js-sdk": {
2442
-      "version": "0.8.4",
2443
-      "resolved": "https://registry.npmjs.org/matrix-js-sdk/-/matrix-js-sdk-0.8.4.tgz",
2444
-      "integrity": "sha1-9Xq7hMovrWg92f3c5d371Y1CcRg=",
2445
-      "requires": {
2446
-        "another-json": "0.2.0",
2447
-        "bluebird": "3.5.0",
2448
-        "browser-request": "0.3.3",
2449
-        "content-type": "1.0.4",
2450
-        "request": "2.82.0"
2451
-      }
2452
-    },
2453 2318
     "md5.js": {
2454 2319
       "version": "1.3.4",
2455 2320
       "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.4.tgz",
@@ -2522,19 +2387,6 @@
2522 2387
         "brorand": "1.1.0"
2523 2388
       }
2524 2389
     },
2525
-    "mime-db": {
2526
-      "version": "1.30.0",
2527
-      "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz",
2528
-      "integrity": "sha1-dMZD2i3Z1qRTmZY0ZbJtXKfXHwE="
2529
-    },
2530
-    "mime-types": {
2531
-      "version": "2.1.17",
2532
-      "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.17.tgz",
2533
-      "integrity": "sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo=",
2534
-      "requires": {
2535
-        "mime-db": "1.30.0"
2536
-      }
2537
-    },
2538 2390
     "mimic-fn": {
2539 2391
       "version": "1.1.0",
2540 2392
       "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.1.0.tgz",
@@ -2601,6 +2453,15 @@
2601 2453
         "lower-case": "1.1.4"
2602 2454
       }
2603 2455
     },
2456
+    "node-dir": {
2457
+      "version": "0.1.17",
2458
+      "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz",
2459
+      "integrity": "sha1-X1Zl2TNRM1yqvvjxxVRRbPXx5OU=",
2460
+      "dev": true,
2461
+      "requires": {
2462
+        "minimatch": "3.0.4"
2463
+      }
2464
+    },
2604 2465
     "node-libs-browser": {
2605 2466
       "version": "2.0.0",
2606 2467
       "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.0.0.tgz",
@@ -2685,11 +2546,6 @@
2685 2546
       "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
2686 2547
       "dev": true
2687 2548
     },
2688
-    "oauth-sign": {
2689
-      "version": "0.8.2",
2690
-      "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz",
2691
-      "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM="
2692
-    },
2693 2549
     "object-assign": {
2694 2550
       "version": "4.1.1",
2695 2551
       "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
@@ -2706,6 +2562,15 @@
2706 2562
         "is-extendable": "0.1.1"
2707 2563
       }
2708 2564
     },
2565
+    "once": {
2566
+      "version": "1.4.0",
2567
+      "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
2568
+      "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
2569
+      "dev": true,
2570
+      "requires": {
2571
+        "wrappy": "1.0.2"
2572
+      }
2573
+    },
2709 2574
     "os-browserify": {
2710 2575
       "version": "0.2.1",
2711 2576
       "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.2.1.tgz",
@@ -2851,11 +2716,6 @@
2851 2716
         "sha.js": "2.4.9"
2852 2717
       }
2853 2718
     },
2854
-    "performance-now": {
2855
-      "version": "2.1.0",
2856
-      "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
2857
-      "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
2858
-    },
2859 2719
     "pify": {
2860 2720
       "version": "2.3.0",
2861 2721
       "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
@@ -2933,12 +2793,8 @@
2933 2793
     "punycode": {
2934 2794
       "version": "1.4.1",
2935 2795
       "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
2936
-      "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
2937
-    },
2938
-    "qs": {
2939
-      "version": "6.5.1",
2940
-      "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz",
2941
-      "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A=="
2796
+      "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",
2797
+      "dev": true
2942 2798
     },
2943 2799
     "querystring": {
2944 2800
       "version": "0.2.0",
@@ -3059,8 +2915,7 @@
3059 2915
     "regenerator-runtime": {
3060 2916
       "version": "0.11.0",
3061 2917
       "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz",
3062
-      "integrity": "sha512-/aA0kLeRb5N9K0d4fw7ooEbI+xDe+DKD499EQqygGqeS8N3xto15p09uY2xj7ixP81sNPXvRLnAQIqdVStgb1A==",
3063
-      "dev": true
2918
+      "integrity": "sha512-/aA0kLeRb5N9K0d4fw7ooEbI+xDe+DKD499EQqygGqeS8N3xto15p09uY2xj7ixP81sNPXvRLnAQIqdVStgb1A=="
3064 2919
     },
3065 2920
     "regenerator-transform": {
3066 2921
       "version": "0.10.1",
@@ -3170,35 +3025,6 @@
3170 3025
         "is-finite": "1.0.2"
3171 3026
       }
3172 3027
     },
3173
-    "request": {
3174
-      "version": "2.82.0",
3175
-      "resolved": "https://registry.npmjs.org/request/-/request-2.82.0.tgz",
3176
-      "integrity": "sha512-/QWqfmyTfQ4OYs6EhB1h2wQsX9ZxbuNePCvCm0Mdz/mxw73mjdg0D4QdIl0TQBFs35CZmMXLjk0iCGK395CUDg==",
3177
-      "requires": {
3178
-        "aws-sign2": "0.7.0",
3179
-        "aws4": "1.6.0",
3180
-        "caseless": "0.12.0",
3181
-        "combined-stream": "1.0.5",
3182
-        "extend": "3.0.1",
3183
-        "forever-agent": "0.6.1",
3184
-        "form-data": "2.3.1",
3185
-        "har-validator": "5.0.3",
3186
-        "hawk": "6.0.2",
3187
-        "http-signature": "1.2.0",
3188
-        "is-typedarray": "1.0.0",
3189
-        "isstream": "0.1.2",
3190
-        "json-stringify-safe": "5.0.1",
3191
-        "mime-types": "2.1.17",
3192
-        "oauth-sign": "0.8.2",
3193
-        "performance-now": "2.1.0",
3194
-        "qs": "6.5.1",
3195
-        "safe-buffer": "5.1.1",
3196
-        "stringstream": "0.0.5",
3197
-        "tough-cookie": "2.3.3",
3198
-        "tunnel-agent": "0.6.0",
3199
-        "uuid": "3.1.0"
3200
-      }
3201
-    },
3202 3028
     "require-directory": {
3203 3029
       "version": "2.1.1",
3204 3030
       "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
@@ -3220,6 +3046,15 @@
3220 3046
         "align-text": "0.1.4"
3221 3047
       }
3222 3048
     },
3049
+    "rimraf": {
3050
+      "version": "2.6.2",
3051
+      "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz",
3052
+      "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==",
3053
+      "dev": true,
3054
+      "requires": {
3055
+        "glob": "7.1.2"
3056
+      }
3057
+    },
3223 3058
     "ripemd160": {
3224 3059
       "version": "2.0.1",
3225 3060
       "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.1.tgz",
@@ -3233,7 +3068,8 @@
3233 3068
     "safe-buffer": {
3234 3069
       "version": "5.1.1",
3235 3070
       "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz",
3236
-      "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg=="
3071
+      "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==",
3072
+      "dev": true
3237 3073
     },
3238 3074
     "semver": {
3239 3075
       "version": "5.4.1",
@@ -3296,14 +3132,6 @@
3296 3132
       "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",
3297 3133
       "dev": true
3298 3134
     },
3299
-    "sntp": {
3300
-      "version": "2.0.2",
3301
-      "resolved": "https://registry.npmjs.org/sntp/-/sntp-2.0.2.tgz",
3302
-      "integrity": "sha1-UGQRDwr4X3z9t9a2ekACjOUrSys=",
3303
-      "requires": {
3304
-        "hoek": "4.2.0"
3305
-      }
3306
-    },
3307 3135
     "source-list-map": {
3308 3136
       "version": "2.0.0",
3309 3137
       "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz",
@@ -3346,21 +3174,6 @@
3346 3174
       "integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=",
3347 3175
       "dev": true
3348 3176
     },
3349
-    "sshpk": {
3350
-      "version": "1.13.1",
3351
-      "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.1.tgz",
3352
-      "integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=",
3353
-      "requires": {
3354
-        "asn1": "0.2.3",
3355
-        "assert-plus": "1.0.0",
3356
-        "bcrypt-pbkdf": "1.0.1",
3357
-        "dashdash": "1.14.1",
3358
-        "ecc-jsbn": "0.1.1",
3359
-        "getpass": "0.1.7",
3360
-        "jsbn": "0.1.1",
3361
-        "tweetnacl": "0.14.5"
3362
-      }
3363
-    },
3364 3177
     "stream-browserify": {
3365 3178
       "version": "2.0.1",
3366 3179
       "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz",
@@ -3426,11 +3239,6 @@
3426 3239
         }
3427 3240
       }
3428 3241
     },
3429
-    "stringstream": {
3430
-      "version": "0.0.5",
3431
-      "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
3432
-      "integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg="
3433
-    },
3434 3242
     "strip-ansi": {
3435 3243
       "version": "3.0.1",
3436 3244
       "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
@@ -3491,14 +3299,6 @@
3491 3299
       "integrity": "sha1-8CzYp0vYvi/A6YYRw7rLlaFxhpw=",
3492 3300
       "dev": true
3493 3301
     },
3494
-    "tough-cookie": {
3495
-      "version": "2.3.3",
3496
-      "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.3.tgz",
3497
-      "integrity": "sha1-C2GKVWW23qkL80JdBNVe3EdadWE=",
3498
-      "requires": {
3499
-        "punycode": "1.4.1"
3500
-      }
3501
-    },
3502 3302
     "trim-right": {
3503 3303
       "version": "1.0.1",
3504 3304
       "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz",
@@ -3511,20 +3311,6 @@
3511 3311
       "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=",
3512 3312
       "dev": true
3513 3313
     },
3514
-    "tunnel-agent": {
3515
-      "version": "0.6.0",
3516
-      "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
3517
-      "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
3518
-      "requires": {
3519
-        "safe-buffer": "5.1.1"
3520
-      }
3521
-    },
3522
-    "tweetnacl": {
3523
-      "version": "0.14.5",
3524
-      "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
3525
-      "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
3526
-      "optional": true
3527
-    },
3528 3314
     "uglify-js": {
3529 3315
       "version": "2.8.29",
3530 3316
       "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz",
@@ -3621,11 +3407,6 @@
3621 3407
       "integrity": "sha1-ihagXURWV6Oupe7MWxKk+lN5dyw=",
3622 3408
       "dev": true
3623 3409
     },
3624
-    "uuid": {
3625
-      "version": "3.1.0",
3626
-      "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz",
3627
-      "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g=="
3628
-    },
3629 3410
     "validate-npm-package-license": {
3630 3411
       "version": "3.0.1",
3631 3412
       "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz",
@@ -3636,16 +3417,6 @@
3636 3417
         "spdx-expression-parse": "1.0.4"
3637 3418
       }
3638 3419
     },
3639
-    "verror": {
3640
-      "version": "1.10.0",
3641
-      "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
3642
-      "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
3643
-      "requires": {
3644
-        "assert-plus": "1.0.0",
3645
-        "core-util-is": "1.0.2",
3646
-        "extsprintf": "1.3.0"
3647
-      }
3648
-    },
3649 3420
     "vm-browserify": {
3650 3421
       "version": "0.0.4",
3651 3422
       "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz",
@@ -3767,6 +3538,12 @@
3767 3538
         }
3768 3539
       }
3769 3540
     },
3541
+    "wrappy": {
3542
+      "version": "1.0.2",
3543
+      "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
3544
+      "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
3545
+      "dev": true
3546
+    },
3770 3547
     "xml-char-classes": {
3771 3548
       "version": "1.0.0",
3772 3549
       "resolved": "https://registry.npmjs.org/xml-char-classes/-/xml-char-classes-1.0.0.tgz",

+ 2
- 2
package.json Прегледај датотеку

@@ -21,13 +21,13 @@
21 21
 		"babel-loader": "7.1.2",
22 22
 		"babel-preset-env": "1.6.0",
23 23
 		"babel-preset-flow": "6.23.0",
24
+		"copy-webpack-plugin": "^4.0.1",
24 25
 		"flow-bin": "0.55.0",
25 26
 		"html-webpack-plugin": "2.30.1",
26 27
 		"uglifyjs-webpack-plugin": "0.4.6",
27 28
 		"webpack": "3.6.0"
28 29
 	},
29 30
 	"dependencies": {
30
-		"babel-polyfill": "6.26.0",
31
-		"matrix-js-sdk": "0.8.4"
31
+		"babel-polyfill": "6.26.0"
32 32
 	}
33 33
 }

+ 1
- 0
src/index.html Прегледај датотеку

@@ -3,6 +3,7 @@
3 3
     <head>
4 4
         <meta charset="utf-8">
5 5
         <title>Sparrow</title>
6
+        <script src="lib/browser-matrix.min.js" charset="utf-8"></script>
6 7
     </head>
7 8
     <body>
8 9
         <p>List of topics:</p>

+ 14
- 0
src/lib/browser-matrix.min.js
Разлика између датотеке није приказан због своје велике величине
Прегледај датотеку


+ 1
- 0
src/lib/browser-matrix.min.js.map
Разлика између датотеке није приказан због своје велике величине
Прегледај датотеку


+ 13
- 3
webpack.config.js Прегледај датотеку

@@ -1,6 +1,7 @@
1 1
 const path = require('path');
2 2
 const UglifyJSPlugin = require('uglifyjs-webpack-plugin')
3 3
 const HtmlWebpackPlugin = require('html-webpack-plugin');
4
+const CopyWebpackPlugin = require('copy-webpack-plugin');
4 5
 
5 6
 module.exports = {
6 7
 	entry: ['babel-polyfill', './src/index.js'],
@@ -23,10 +24,19 @@ module.exports = {
23 24
 		filename: 'sparrow.js',
24 25
 		path: path.resolve(__dirname, 'dist')
25 26
 	},
27
+	externals: {
28
+		"matrix-js-sdk": "matrixcs"
29
+	},
26 30
 	plugins: [
27 31
 		new UglifyJSPlugin(),
28
-		new HtmlWebpackPlugin({
29
-			template: './src/index.html'
30
-		})
32
+		new HtmlWebpackPlugin({template: './src/index.html'}),
33
+		new CopyWebpackPlugin(
34
+			[
35
+				{
36
+					from: path.resolve(__dirname, 'src', 'lib'),
37
+					to: path.resolve(__dirname, 'dist', 'lib')
38
+				}
39
+			]
40
+		)
31 41
 	]
32 42
 };