Browse Source

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

iou90 6 years ago
parent
commit
94a7721926
7 changed files with 13751 additions and 5372 deletions
  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 View File

1
-demo

+ 7555
- 5279
demo/package-lock.json
File diff suppressed because it is too large
View File


+ 4
- 4
demo/package.json View File

7
     "test": "jest"
7
     "test": "jest"
8
   },
8
   },
9
   "dependencies": {
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
     "react-native-autoheight-webview": "../"
12
     "react-native-autoheight-webview": "../"
13
   },
13
   },
14
   "devDependencies": {
14
   "devDependencies": {
15
     "babel-jest": "21.2.0",
15
     "babel-jest": "21.2.0",
16
-    "babel-preset-react-native": "4.0.0",
16
+    "babel-preset-react-native": "^5.0.1",
17
     "jest": "21.2.1",
17
     "jest": "21.2.1",
18
-    "react-test-renderer": "16.0.0"
18
+    "react-test-renderer": "16.4.1"
19
   },
19
   },
20
   "jest": {
20
   "jest": {
21
     "preset": "react-native"
21
     "preset": "react-native"

+ 5082
- 0
demo/yarn.lock
File diff suppressed because it is too large
View File


+ 8
- 85
package-lock.json View File

1
 {
1
 {
2
   "name": "react-native-autoheight-webview",
2
   "name": "react-native-autoheight-webview",
3
-  "version": "0.6.0",
3
+  "version": "0.6.1",
4
   "lockfileVersion": 1,
4
   "lockfileVersion": 1,
5
   "requires": true,
5
   "requires": true,
6
   "dependencies": {
6
   "dependencies": {
219
       "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=",
219
       "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=",
220
       "dev": true
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
     "ast-types-flow": {
222
     "ast-types-flow": {
228
       "version": "0.0.7",
223
       "version": "0.0.7",
229
       "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz",
224
       "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz",
426
         "typedarray": "0.0.6"
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
     "core-util-is": {
424
     "core-util-is": {
435
       "version": "1.0.2",
425
       "version": "1.0.2",
436
       "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
426
       "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
509
       "integrity": "sha512-PAHp6TxrCy7MGMFidro8uikr+zlJJKJ/Q6mm2ExZ7HwkyR9lSVFfE3kt36qcwa24BQL7y0G9axycGjK1A/0uNQ==",
499
       "integrity": "sha512-PAHp6TxrCy7MGMFidro8uikr+zlJJKJ/Q6mm2ExZ7HwkyR9lSVFfE3kt36qcwa24BQL7y0G9axycGjK1A/0uNQ==",
510
       "dev": true
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
     "es-abstract": {
502
     "es-abstract": {
521
       "version": "1.11.0",
503
       "version": "1.11.0",
522
       "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.11.0.tgz",
504
       "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.11.0.tgz",
636
         "doctrine": "2.1.0",
618
         "doctrine": "2.1.0",
637
         "has": "1.0.1",
619
         "has": "1.0.1",
638
         "jsx-ast-utils": "2.0.1",
620
         "jsx-ast-utils": "2.0.1",
639
-        "prop-types": "15.6.1"
621
+        "prop-types": "15.6.2"
640
       }
622
       }
641
     },
623
     },
642
     "eslint-plugin-react-native": {
624
     "eslint-plugin-react-native": {
745
       "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
727
       "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
746
       "dev": true
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
     "figures": {
730
     "figures": {
763
       "version": "2.0.0",
731
       "version": "2.0.0",
764
       "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
732
       "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
888
       "version": "0.4.21",
856
       "version": "0.4.21",
889
       "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.21.tgz",
857
       "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.21.tgz",
890
       "integrity": "sha512-En5V9za5mBt2oUA03WGD3TwDv0MKAruqsuxstbMUZaj9W9k/m1CV/9py3l0L5kw9Bln8fdHQmzHSYtvpvTLpKw==",
858
       "integrity": "sha512-En5V9za5mBt2oUA03WGD3TwDv0MKAruqsuxstbMUZaj9W9k/m1CV/9py3l0L5kw9Bln8fdHQmzHSYtvpvTLpKw==",
859
+      "dev": true,
891
       "requires": {
860
       "requires": {
892
         "safer-buffer": "2.1.2"
861
         "safer-buffer": "2.1.2"
893
       }
862
       }
1019
       "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==",
988
       "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==",
1020
       "dev": true
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
     "is-symbol": {
991
     "is-symbol": {
1028
       "version": "1.0.1",
992
       "version": "1.0.1",
1029
       "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz",
993
       "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz",
1042
       "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
1006
       "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
1043
       "dev": true
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
     "js-tokens": {
1009
     "js-tokens": {
1055
       "version": "3.0.2",
1010
       "version": "3.0.2",
1056
       "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
1011
       "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
1175
       "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
1130
       "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
1176
       "dev": true
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
     "object-assign": {
1133
     "object-assign": {
1188
       "version": "4.1.1",
1134
       "version": "4.1.1",
1189
       "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
1135
       "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
1290
       "integrity": "sha1-ihvjZr+Pwj2yvSPxDG/pILQ4nR8=",
1236
       "integrity": "sha1-ihvjZr+Pwj2yvSPxDG/pILQ4nR8=",
1291
       "dev": true
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
     "prop-types": {
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
       "requires": {
1243
       "requires": {
1306
-        "fbjs": "0.8.16",
1307
         "loose-envify": "1.3.1",
1244
         "loose-envify": "1.3.1",
1308
         "object-assign": "4.1.1"
1245
         "object-assign": "4.1.1"
1309
       }
1246
       }
1403
     "safer-buffer": {
1340
     "safer-buffer": {
1404
       "version": "2.1.2",
1341
       "version": "2.1.2",
1405
       "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
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
     "semver": {
1346
     "semver": {
1409
       "version": "5.5.0",
1347
       "version": "5.5.0",
1411
       "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==",
1349
       "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==",
1412
       "dev": true
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
     "shebang-command": {
1352
     "shebang-command": {
1420
       "version": "1.2.0",
1353
       "version": "1.2.0",
1421
       "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
1354
       "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
1577
       "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
1510
       "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
1578
       "dev": true
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
     "util-deprecate": {
1513
     "util-deprecate": {
1586
       "version": "1.0.2",
1514
       "version": "1.0.2",
1587
       "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
1515
       "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
1588
       "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
1516
       "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
1589
       "dev": true
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
     "which": {
1519
     "which": {
1597
       "version": "1.3.0",
1520
       "version": "1.3.0",
1598
       "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz",
1521
       "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz",

+ 3
- 3
package.json View File

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

+ 1099
- 0
yarn.lock
File diff suppressed because it is too large
View File