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

remove .npmignore cause of it will not work if installing a local package; update rn version to 0.56.0 for demo

iou90 пре 6 година
родитељ
комит
94a7721926
7 измењених фајлова са 13751 додато и 5372 уклоњено
  1. 0
    1
      .npmignore
  2. 7555
    5279
      demo/package-lock.json
  3. 4
    4
      demo/package.json
  4. 5082
    0
      demo/yarn.lock
  5. 8
    85
      package-lock.json
  6. 3
    3
      package.json
  7. 1099
    0
      yarn.lock

+ 0
- 1
.npmignore Прегледај датотеку

@@ -1 +0,0 @@
1
-demo

+ 7555
- 5279
demo/package-lock.json
Разлика између датотеке није приказан због своје велике величине
Прегледај датотеку


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

@@ -7,15 +7,15 @@
7 7
     "test": "jest"
8 8
   },
9 9
   "dependencies": {
10
-    "react": "^16.3.1",
11
-    "react-native": "^0.55.3",
10
+    "react": "^16.4.1",
11
+    "react-native": "^0.56.0",
12 12
     "react-native-autoheight-webview": "../"
13 13
   },
14 14
   "devDependencies": {
15 15
     "babel-jest": "21.2.0",
16
-    "babel-preset-react-native": "4.0.0",
16
+    "babel-preset-react-native": "^5.0.1",
17 17
     "jest": "21.2.1",
18
-    "react-test-renderer": "16.0.0"
18
+    "react-test-renderer": "16.4.1"
19 19
   },
20 20
   "jest": {
21 21
     "preset": "react-native"

+ 5082
- 0
demo/yarn.lock
Разлика између датотеке није приказан због своје велике величине
Прегледај датотеку


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

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "react-native-autoheight-webview",
3
-  "version": "0.6.0",
3
+  "version": "0.6.1",
4 4
   "lockfileVersion": 1,
5 5
   "requires": true,
6 6
   "dependencies": {
@@ -219,11 +219,6 @@
219 219
       "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=",
220 220
       "dev": true
221 221
     },
222
-    "asap": {
223
-      "version": "2.0.6",
224
-      "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
225
-      "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY="
226
-    },
227 222
     "ast-types-flow": {
228 223
       "version": "0.0.7",
229 224
       "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz",
@@ -426,11 +421,6 @@
426 421
         "typedarray": "0.0.6"
427 422
       }
428 423
     },
429
-    "core-js": {
430
-      "version": "1.2.7",
431
-      "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz",
432
-      "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY="
433
-    },
434 424
     "core-util-is": {
435 425
       "version": "1.0.2",
436 426
       "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
@@ -509,14 +499,6 @@
509 499
       "integrity": "sha512-PAHp6TxrCy7MGMFidro8uikr+zlJJKJ/Q6mm2ExZ7HwkyR9lSVFfE3kt36qcwa24BQL7y0G9axycGjK1A/0uNQ==",
510 500
       "dev": true
511 501
     },
512
-    "encoding": {
513
-      "version": "0.1.12",
514
-      "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
515
-      "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
516
-      "requires": {
517
-        "iconv-lite": "0.4.21"
518
-      }
519
-    },
520 502
     "es-abstract": {
521 503
       "version": "1.11.0",
522 504
       "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.11.0.tgz",
@@ -636,7 +618,7 @@
636 618
         "doctrine": "2.1.0",
637 619
         "has": "1.0.1",
638 620
         "jsx-ast-utils": "2.0.1",
639
-        "prop-types": "15.6.1"
621
+        "prop-types": "15.6.2"
640 622
       }
641 623
     },
642 624
     "eslint-plugin-react-native": {
@@ -745,20 +727,6 @@
745 727
       "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
746 728
       "dev": true
747 729
     },
748
-    "fbjs": {
749
-      "version": "0.8.16",
750
-      "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz",
751
-      "integrity": "sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s=",
752
-      "requires": {
753
-        "core-js": "1.2.7",
754
-        "isomorphic-fetch": "2.2.1",
755
-        "loose-envify": "1.3.1",
756
-        "object-assign": "4.1.1",
757
-        "promise": "7.3.1",
758
-        "setimmediate": "1.0.5",
759
-        "ua-parser-js": "0.7.17"
760
-      }
761
-    },
762 730
     "figures": {
763 731
       "version": "2.0.0",
764 732
       "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
@@ -888,6 +856,7 @@
888 856
       "version": "0.4.21",
889 857
       "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.21.tgz",
890 858
       "integrity": "sha512-En5V9za5mBt2oUA03WGD3TwDv0MKAruqsuxstbMUZaj9W9k/m1CV/9py3l0L5kw9Bln8fdHQmzHSYtvpvTLpKw==",
859
+      "dev": true,
891 860
       "requires": {
892 861
         "safer-buffer": "2.1.2"
893 862
       }
@@ -1019,11 +988,6 @@
1019 988
       "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==",
1020 989
       "dev": true
1021 990
     },
1022
-    "is-stream": {
1023
-      "version": "1.1.0",
1024
-      "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
1025
-      "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ="
1026
-    },
1027 991
     "is-symbol": {
1028 992
       "version": "1.0.1",
1029 993
       "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz",
@@ -1042,15 +1006,6 @@
1042 1006
       "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
1043 1007
       "dev": true
1044 1008
     },
1045
-    "isomorphic-fetch": {
1046
-      "version": "2.2.1",
1047
-      "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
1048
-      "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=",
1049
-      "requires": {
1050
-        "node-fetch": "1.7.3",
1051
-        "whatwg-fetch": "2.0.4"
1052
-      }
1053
-    },
1054 1009
     "js-tokens": {
1055 1010
       "version": "3.0.2",
1056 1011
       "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
@@ -1175,15 +1130,6 @@
1175 1130
       "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
1176 1131
       "dev": true
1177 1132
     },
1178
-    "node-fetch": {
1179
-      "version": "1.7.3",
1180
-      "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
1181
-      "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==",
1182
-      "requires": {
1183
-        "encoding": "0.1.12",
1184
-        "is-stream": "1.1.0"
1185
-      }
1186
-    },
1187 1133
     "object-assign": {
1188 1134
       "version": "4.1.1",
1189 1135
       "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
@@ -1290,20 +1236,11 @@
1290 1236
       "integrity": "sha1-ihvjZr+Pwj2yvSPxDG/pILQ4nR8=",
1291 1237
       "dev": true
1292 1238
     },
1293
-    "promise": {
1294
-      "version": "7.3.1",
1295
-      "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
1296
-      "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
1297
-      "requires": {
1298
-        "asap": "2.0.6"
1299
-      }
1300
-    },
1301 1239
     "prop-types": {
1302
-      "version": "15.6.1",
1303
-      "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.1.tgz",
1304
-      "integrity": "sha512-4ec7bY1Y66LymSUOH/zARVYObB23AT2h8cf6e/O6ZALB/N0sqZFEx7rq6EYPX2MkOdKORuooI/H5k9TlR4q7kQ==",
1240
+      "version": "15.6.2",
1241
+      "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz",
1242
+      "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==",
1305 1243
       "requires": {
1306
-        "fbjs": "0.8.16",
1307 1244
         "loose-envify": "1.3.1",
1308 1245
         "object-assign": "4.1.1"
1309 1246
       }
@@ -1403,7 +1340,8 @@
1403 1340
     "safer-buffer": {
1404 1341
       "version": "2.1.2",
1405 1342
       "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
1406
-      "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
1343
+      "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
1344
+      "dev": true
1407 1345
     },
1408 1346
     "semver": {
1409 1347
       "version": "5.5.0",
@@ -1411,11 +1349,6 @@
1411 1349
       "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==",
1412 1350
       "dev": true
1413 1351
     },
1414
-    "setimmediate": {
1415
-      "version": "1.0.5",
1416
-      "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
1417
-      "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
1418
-    },
1419 1352
     "shebang-command": {
1420 1353
       "version": "1.2.0",
1421 1354
       "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
@@ -1577,22 +1510,12 @@
1577 1510
       "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
1578 1511
       "dev": true
1579 1512
     },
1580
-    "ua-parser-js": {
1581
-      "version": "0.7.17",
1582
-      "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.17.tgz",
1583
-      "integrity": "sha512-uRdSdu1oA1rncCQL7sCj8vSyZkgtL7faaw9Tc9rZ3mGgraQ7+Pdx7w5mnOSF3gw9ZNG6oc+KXfkon3bKuROm0g=="
1584
-    },
1585 1513
     "util-deprecate": {
1586 1514
       "version": "1.0.2",
1587 1515
       "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
1588 1516
       "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
1589 1517
       "dev": true
1590 1518
     },
1591
-    "whatwg-fetch": {
1592
-      "version": "2.0.4",
1593
-      "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz",
1594
-      "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng=="
1595
-    },
1596 1519
     "which": {
1597 1520
       "version": "1.3.0",
1598 1521
       "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz",

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

@@ -4,8 +4,8 @@
4 4
   "description": "An auto height webview for React Native",
5 5
   "main": "autoHeightWebView",
6 6
   "files": [
7
-    "android/",
8
-    "autoHeightWebView/"
7
+    "android",
8
+    "autoHeightWebView"
9 9
   ],
10 10
   "scripts": {
11 11
     "test": "echo \"Error: no test specified\" && exit 1"
@@ -32,7 +32,7 @@
32 32
   },
33 33
   "dependencies": {
34 34
     "immutable": "^3.8.1",
35
-    "prop-types": "^15.5.10"
35
+    "prop-types": "^15.6.2"
36 36
   },
37 37
   "devDependencies": {
38 38
     "babel-eslint": "^8.2.2",

+ 1099
- 0
yarn.lock
Разлика између датотеке није приказан због своје велике величине
Прегледај датотеку