瀏覽代碼

chore: complete semantic-release

dongdayu 5 年之前
父節點
當前提交
33bbc32b11
共有 2 個文件被更改,包括 374 次插入4 次删除
  1. 362
    0
      package-lock.json
  2. 12
    4
      package.json

+ 362
- 0
package-lock.json 查看文件

@@ -519,6 +519,12 @@
519 519
         "unset-value": "^1.0.0"
520 520
       }
521 521
     },
522
+    "cachedir": {
523
+      "version": "2.1.0",
524
+      "resolved": "https://registry.npmjs.org/cachedir/-/cachedir-2.1.0.tgz",
525
+      "integrity": "sha512-xGBpPqoBvn3unBW7oxgb8aJn42K0m9m1/wyjmazah10Fq7bROGG3kRAE6OIyr3U3PIJUqGuebhCEdMk9OKJG0A==",
526
+      "dev": true
527
+    },
522 528
     "call-me-maybe": {
523 529
       "version": "1.0.1",
524 530
       "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz",
@@ -587,6 +593,12 @@
587 593
         "supports-color": "^5.3.0"
588 594
       }
589 595
     },
596
+    "chardet": {
597
+      "version": "0.7.0",
598
+      "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
599
+      "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",
600
+      "dev": true
601
+    },
590 602
     "class-utils": {
591 603
       "version": "0.3.6",
592 604
       "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
@@ -616,6 +628,15 @@
616 628
       "integrity": "sha512-uQWrpRm+iZZUCAp7ZZJQbd4Za9I3AjR/3YTjmcnAtkauaIm/T5CT6U8zVI6e60T6OANqBFAzuR9/HB3NzuZCRA==",
617 629
       "dev": true
618 630
     },
631
+    "cli-cursor": {
632
+      "version": "2.1.0",
633
+      "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
634
+      "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
635
+      "dev": true,
636
+      "requires": {
637
+        "restore-cursor": "^2.0.0"
638
+      }
639
+    },
619 640
     "cli-table": {
620 641
       "version": "0.3.1",
621 642
       "resolved": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz",
@@ -625,6 +646,12 @@
625 646
         "colors": "1.0.3"
626 647
       }
627 648
     },
649
+    "cli-width": {
650
+      "version": "2.2.0",
651
+      "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz",
652
+      "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=",
653
+      "dev": true
654
+    },
628 655
     "cliui": {
629 656
       "version": "4.1.0",
630 657
       "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",
@@ -679,6 +706,37 @@
679 706
       "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==",
680 707
       "dev": true
681 708
     },
709
+    "commitizen": {
710
+      "version": "3.1.1",
711
+      "resolved": "https://registry.npmjs.org/commitizen/-/commitizen-3.1.1.tgz",
712
+      "integrity": "sha512-n5pnG8sNM5a3dS3Kkh3rYr+hFdPWZlqV6pfz6KGLmWV/gsIiTqAwhTgFKkcF/paKUpfIMp0x4YZlD0xLBNTW9g==",
713
+      "dev": true,
714
+      "requires": {
715
+        "cachedir": "2.1.0",
716
+        "cz-conventional-changelog": "2.1.0",
717
+        "dedent": "0.7.0",
718
+        "detect-indent": "^5.0.0",
719
+        "find-node-modules": "2.0.0",
720
+        "find-root": "1.1.0",
721
+        "fs-extra": "^7.0.0",
722
+        "glob": "7.1.3",
723
+        "inquirer": "6.2.0",
724
+        "is-utf8": "^0.2.1",
725
+        "lodash": "4.17.11",
726
+        "minimist": "1.2.0",
727
+        "shelljs": "0.7.6",
728
+        "strip-bom": "3.0.0",
729
+        "strip-json-comments": "2.0.1"
730
+      },
731
+      "dependencies": {
732
+        "minimist": {
733
+          "version": "1.2.0",
734
+          "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
735
+          "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
736
+          "dev": true
737
+        }
738
+      }
739
+    },
682 740
     "compare-func": {
683 741
       "version": "1.3.2",
684 742
       "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-1.3.2.tgz",
@@ -729,6 +787,12 @@
729 787
         "through2": "^2.0.0"
730 788
       }
731 789
     },
790
+    "conventional-commit-types": {
791
+      "version": "2.1.1",
792
+      "resolved": "https://registry.npmjs.org/conventional-commit-types/-/conventional-commit-types-2.1.1.tgz",
793
+      "integrity": "sha512-0Ts+fEdmjqYDOQ1yZ+LNgdSPO335XZw9qC10M7CxtLP3nIMGmeMhmkM8Taffa4+MXN13bRPlp0CtH+QfOzKTzw==",
794
+      "dev": true
795
+    },
732 796
     "conventional-commits-filter": {
733 797
       "version": "2.0.1",
734 798
       "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.1.tgz",
@@ -805,6 +869,19 @@
805 869
         "array-find-index": "^1.0.1"
806 870
       }
807 871
     },
872
+    "cz-conventional-changelog": {
873
+      "version": "2.1.0",
874
+      "resolved": "https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-2.1.0.tgz",
875
+      "integrity": "sha1-L0vHOQ4yROTfKT5ro1Hkx0Cnx2Q=",
876
+      "dev": true,
877
+      "requires": {
878
+        "conventional-commit-types": "^2.0.0",
879
+        "lodash.map": "^4.5.1",
880
+        "longest": "^1.0.1",
881
+        "right-pad": "^1.0.1",
882
+        "word-wrap": "^1.0.3"
883
+      }
884
+    },
808 885
     "dateformat": {
809 886
       "version": "3.0.3",
810 887
       "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz",
@@ -850,6 +927,12 @@
850 927
       "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=",
851 928
       "dev": true
852 929
     },
930
+    "dedent": {
931
+      "version": "0.7.0",
932
+      "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz",
933
+      "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=",
934
+      "dev": true
935
+    },
853 936
     "deep-extend": {
854 937
       "version": "0.6.0",
855 938
       "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
@@ -909,6 +992,18 @@
909 992
       "integrity": "sha512-ccVHpE72+tcIKaGMql33x5MAjKQIZrk+3x2GbJ7TeraUCZWHoT+KSZpoC+JQFsUBlSTXUrBaGiF0j6zVTepPLg==",
910 993
       "dev": true
911 994
     },
995
+    "detect-file": {
996
+      "version": "1.0.0",
997
+      "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",
998
+      "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=",
999
+      "dev": true
1000
+    },
1001
+    "detect-indent": {
1002
+      "version": "5.0.0",
1003
+      "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz",
1004
+      "integrity": "sha1-OHHMCmoALow+Wzz38zYmRnXwa50=",
1005
+      "dev": true
1006
+    },
912 1007
     "diff": {
913 1008
       "version": "3.5.0",
914 1009
       "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
@@ -1068,6 +1163,15 @@
1068 1163
         }
1069 1164
       }
1070 1165
     },
1166
+    "expand-tilde": {
1167
+      "version": "2.0.2",
1168
+      "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz",
1169
+      "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=",
1170
+      "dev": true,
1171
+      "requires": {
1172
+        "homedir-polyfill": "^1.0.1"
1173
+      }
1174
+    },
1071 1175
     "extend-shallow": {
1072 1176
       "version": "3.0.2",
1073 1177
       "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",
@@ -1089,6 +1193,17 @@
1089 1193
         }
1090 1194
       }
1091 1195
     },
1196
+    "external-editor": {
1197
+      "version": "3.0.3",
1198
+      "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz",
1199
+      "integrity": "sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA==",
1200
+      "dev": true,
1201
+      "requires": {
1202
+        "chardet": "^0.7.0",
1203
+        "iconv-lite": "^0.4.24",
1204
+        "tmp": "^0.0.33"
1205
+      }
1206
+    },
1092 1207
     "extglob": {
1093 1208
       "version": "2.0.4",
1094 1209
       "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
@@ -1200,6 +1315,22 @@
1200 1315
         }
1201 1316
       }
1202 1317
     },
1318
+    "find-node-modules": {
1319
+      "version": "2.0.0",
1320
+      "resolved": "https://registry.npmjs.org/find-node-modules/-/find-node-modules-2.0.0.tgz",
1321
+      "integrity": "sha512-8MWIBRgJi/WpjjfVXumjPKCtmQ10B+fjx6zmSA+770GMJirLhWIzg8l763rhjl9xaeaHbnxPNRQKq2mgMhr+aw==",
1322
+      "dev": true,
1323
+      "requires": {
1324
+        "findup-sync": "^3.0.0",
1325
+        "merge": "^1.2.1"
1326
+      }
1327
+    },
1328
+    "find-root": {
1329
+      "version": "1.1.0",
1330
+      "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
1331
+      "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==",
1332
+      "dev": true
1333
+    },
1203 1334
     "find-up": {
1204 1335
       "version": "2.1.0",
1205 1336
       "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
@@ -1227,6 +1358,18 @@
1227 1358
         }
1228 1359
       }
1229 1360
     },
1361
+    "findup-sync": {
1362
+      "version": "3.0.0",
1363
+      "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-3.0.0.tgz",
1364
+      "integrity": "sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==",
1365
+      "dev": true,
1366
+      "requires": {
1367
+        "detect-file": "^1.0.0",
1368
+        "is-glob": "^4.0.0",
1369
+        "micromatch": "^3.0.4",
1370
+        "resolve-dir": "^1.0.1"
1371
+      }
1372
+    },
1230 1373
     "for-in": {
1231 1374
       "version": "1.0.2",
1232 1375
       "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
@@ -1356,6 +1499,30 @@
1356 1499
       "integrity": "sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=",
1357 1500
       "dev": true
1358 1501
     },
1502
+    "global-modules": {
1503
+      "version": "1.0.0",
1504
+      "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz",
1505
+      "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==",
1506
+      "dev": true,
1507
+      "requires": {
1508
+        "global-prefix": "^1.0.1",
1509
+        "is-windows": "^1.0.1",
1510
+        "resolve-dir": "^1.0.0"
1511
+      }
1512
+    },
1513
+    "global-prefix": {
1514
+      "version": "1.0.2",
1515
+      "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz",
1516
+      "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=",
1517
+      "dev": true,
1518
+      "requires": {
1519
+        "expand-tilde": "^2.0.2",
1520
+        "homedir-polyfill": "^1.0.1",
1521
+        "ini": "^1.3.4",
1522
+        "is-windows": "^1.0.1",
1523
+        "which": "^1.2.14"
1524
+      }
1525
+    },
1359 1526
     "globby": {
1360 1527
       "version": "9.2.0",
1361 1528
       "resolved": "https://registry.npmjs.org/globby/-/globby-9.2.0.tgz",
@@ -1444,6 +1611,15 @@
1444 1611
         }
1445 1612
       }
1446 1613
     },
1614
+    "homedir-polyfill": {
1615
+      "version": "1.0.3",
1616
+      "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz",
1617
+      "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==",
1618
+      "dev": true,
1619
+      "requires": {
1620
+        "parse-passwd": "^1.0.0"
1621
+      }
1622
+    },
1447 1623
     "hook-std": {
1448 1624
       "version": "1.2.0",
1449 1625
       "resolved": "https://registry.npmjs.org/hook-std/-/hook-std-1.2.0.tgz",
@@ -1504,6 +1680,15 @@
1504 1680
         }
1505 1681
       }
1506 1682
     },
1683
+    "iconv-lite": {
1684
+      "version": "0.4.24",
1685
+      "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
1686
+      "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
1687
+      "dev": true,
1688
+      "requires": {
1689
+        "safer-buffer": ">= 2.1.2 < 3"
1690
+      }
1691
+    },
1507 1692
     "ignore": {
1508 1693
       "version": "4.0.6",
1509 1694
       "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
@@ -1573,6 +1758,33 @@
1573 1758
       "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",
1574 1759
       "dev": true
1575 1760
     },
1761
+    "inquirer": {
1762
+      "version": "6.2.0",
1763
+      "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.2.0.tgz",
1764
+      "integrity": "sha512-QIEQG4YyQ2UYZGDC4srMZ7BjHOmNk1lR2JQj5UknBapklm6WHA+VVH7N+sUdX3A7NeCfGF8o4X1S3Ao7nAcIeg==",
1765
+      "dev": true,
1766
+      "requires": {
1767
+        "ansi-escapes": "^3.0.0",
1768
+        "chalk": "^2.0.0",
1769
+        "cli-cursor": "^2.1.0",
1770
+        "cli-width": "^2.0.0",
1771
+        "external-editor": "^3.0.0",
1772
+        "figures": "^2.0.0",
1773
+        "lodash": "^4.17.10",
1774
+        "mute-stream": "0.0.7",
1775
+        "run-async": "^2.2.0",
1776
+        "rxjs": "^6.1.0",
1777
+        "string-width": "^2.1.0",
1778
+        "strip-ansi": "^4.0.0",
1779
+        "through": "^2.3.6"
1780
+      }
1781
+    },
1782
+    "interpret": {
1783
+      "version": "1.2.0",
1784
+      "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz",
1785
+      "integrity": "sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==",
1786
+      "dev": true
1787
+    },
1576 1788
     "into-stream": {
1577 1789
       "version": "4.0.0",
1578 1790
       "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-4.0.0.tgz",
@@ -1734,6 +1946,12 @@
1734 1946
         "isobject": "^3.0.1"
1735 1947
       }
1736 1948
     },
1949
+    "is-promise": {
1950
+      "version": "2.1.0",
1951
+      "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
1952
+      "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=",
1953
+      "dev": true
1954
+    },
1737 1955
     "is-stream": {
1738 1956
       "version": "1.1.0",
1739 1957
       "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
@@ -1755,6 +1973,12 @@
1755 1973
         "text-extensions": "^1.0.0"
1756 1974
       }
1757 1975
     },
1976
+    "is-utf8": {
1977
+      "version": "0.2.1",
1978
+      "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
1979
+      "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=",
1980
+      "dev": true
1981
+    },
1758 1982
     "is-windows": {
1759 1983
       "version": "1.0.2",
1760 1984
       "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
@@ -1925,6 +2149,12 @@
1925 2149
       "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=",
1926 2150
       "dev": true
1927 2151
     },
2152
+    "lodash.map": {
2153
+      "version": "4.6.0",
2154
+      "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz",
2155
+      "integrity": "sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=",
2156
+      "dev": true
2157
+    },
1928 2158
     "lodash.set": {
1929 2159
       "version": "4.3.2",
1930 2160
       "resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz",
@@ -1949,6 +2179,12 @@
1949 2179
       "integrity": "sha1-2ZwHpmnp5tJOE2Lf4mbGdhavEwI=",
1950 2180
       "dev": true
1951 2181
     },
2182
+    "longest": {
2183
+      "version": "1.0.1",
2184
+      "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz",
2185
+      "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=",
2186
+      "dev": true
2187
+    },
1952 2188
     "loud-rejection": {
1953 2189
       "version": "1.6.0",
1954 2190
       "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz",
@@ -2061,6 +2297,12 @@
2061 2297
         }
2062 2298
       }
2063 2299
     },
2300
+    "merge": {
2301
+      "version": "1.2.1",
2302
+      "resolved": "https://registry.npmjs.org/merge/-/merge-1.2.1.tgz",
2303
+      "integrity": "sha512-VjFo4P5Whtj4vsLzsYBu5ayHhoHJ0UqNm7ibvShmbmoz7tGi0vXaoJbGdB+GmDMLUdg8DpQXEIeVDAe8MaABvQ==",
2304
+      "dev": true
2305
+    },
2064 2306
     "merge2": {
2065 2307
       "version": "1.2.3",
2066 2308
       "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.2.3.tgz",
@@ -2167,6 +2409,12 @@
2167 2409
       "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
2168 2410
       "dev": true
2169 2411
     },
2412
+    "mute-stream": {
2413
+      "version": "0.0.7",
2414
+      "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz",
2415
+      "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=",
2416
+      "dev": true
2417
+    },
2170 2418
     "nanomatch": {
2171 2419
       "version": "1.2.13",
2172 2420
       "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
@@ -5416,6 +5664,23 @@
5416 5664
         "wrappy": "1"
5417 5665
       }
5418 5666
     },
5667
+    "onetime": {
5668
+      "version": "2.0.1",
5669
+      "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
5670
+      "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
5671
+      "dev": true,
5672
+      "requires": {
5673
+        "mimic-fn": "^1.0.0"
5674
+      },
5675
+      "dependencies": {
5676
+        "mimic-fn": {
5677
+          "version": "1.2.0",
5678
+          "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
5679
+          "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==",
5680
+          "dev": true
5681
+        }
5682
+      }
5683
+    },
5419 5684
     "optimist": {
5420 5685
       "version": "0.6.1",
5421 5686
       "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
@@ -5447,6 +5712,12 @@
5447 5712
         "windows-release": "^3.1.0"
5448 5713
       }
5449 5714
     },
5715
+    "os-tmpdir": {
5716
+      "version": "1.0.2",
5717
+      "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
5718
+      "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
5719
+      "dev": true
5720
+    },
5450 5721
     "p-defer": {
5451 5722
       "version": "1.0.0",
5452 5723
       "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz",
@@ -5552,6 +5823,12 @@
5552 5823
         "json-parse-better-errors": "^1.0.1"
5553 5824
       }
5554 5825
     },
5826
+    "parse-passwd": {
5827
+      "version": "1.0.0",
5828
+      "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",
5829
+      "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=",
5830
+      "dev": true
5831
+    },
5555 5832
     "pascalcase": {
5556 5833
       "version": "0.1.1",
5557 5834
       "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
@@ -5724,6 +6001,15 @@
5724 6001
         "util-deprecate": "~1.0.1"
5725 6002
       }
5726 6003
     },
6004
+    "rechoir": {
6005
+      "version": "0.6.2",
6006
+      "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz",
6007
+      "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=",
6008
+      "dev": true,
6009
+      "requires": {
6010
+        "resolve": "^1.1.6"
6011
+      }
6012
+    },
5727 6013
     "redent": {
5728 6014
       "version": "2.0.0",
5729 6015
       "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz",
@@ -5796,6 +6082,16 @@
5796 6082
         "path-parse": "^1.0.6"
5797 6083
       }
5798 6084
     },
6085
+    "resolve-dir": {
6086
+      "version": "1.0.1",
6087
+      "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz",
6088
+      "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=",
6089
+      "dev": true,
6090
+      "requires": {
6091
+        "expand-tilde": "^2.0.0",
6092
+        "global-modules": "^1.0.0"
6093
+      }
6094
+    },
5799 6095
     "resolve-from": {
5800 6096
       "version": "4.0.0",
5801 6097
       "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
@@ -5808,6 +6104,16 @@
5808 6104
       "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=",
5809 6105
       "dev": true
5810 6106
     },
6107
+    "restore-cursor": {
6108
+      "version": "2.0.0",
6109
+      "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
6110
+      "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
6111
+      "dev": true,
6112
+      "requires": {
6113
+        "onetime": "^2.0.0",
6114
+        "signal-exit": "^3.0.2"
6115
+      }
6116
+    },
5811 6117
     "ret": {
5812 6118
       "version": "0.1.15",
5813 6119
       "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
@@ -5820,6 +6126,30 @@
5820 6126
       "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=",
5821 6127
       "dev": true
5822 6128
     },
6129
+    "right-pad": {
6130
+      "version": "1.0.1",
6131
+      "resolved": "https://registry.npmjs.org/right-pad/-/right-pad-1.0.1.tgz",
6132
+      "integrity": "sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA=",
6133
+      "dev": true
6134
+    },
6135
+    "run-async": {
6136
+      "version": "2.3.0",
6137
+      "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz",
6138
+      "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=",
6139
+      "dev": true,
6140
+      "requires": {
6141
+        "is-promise": "^2.1.0"
6142
+      }
6143
+    },
6144
+    "rxjs": {
6145
+      "version": "6.5.2",
6146
+      "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.2.tgz",
6147
+      "integrity": "sha512-HUb7j3kvb7p7eCUHE3FqjoDsC1xfZQ4AHFWfTKSpZ+sAhhz5X1WX0ZuUqWbzB2QhSLp3DoLUG+hMdEDKqWo2Zg==",
6148
+      "dev": true,
6149
+      "requires": {
6150
+        "tslib": "^1.9.0"
6151
+      }
6152
+    },
5823 6153
     "safe-buffer": {
5824 6154
       "version": "5.1.2",
5825 6155
       "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
@@ -5835,6 +6165,12 @@
5835 6165
         "ret": "~0.1.10"
5836 6166
       }
5837 6167
     },
6168
+    "safer-buffer": {
6169
+      "version": "2.1.2",
6170
+      "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
6171
+      "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
6172
+      "dev": true
6173
+    },
5838 6174
     "semantic-release": {
5839 6175
       "version": "15.13.3",
5840 6176
       "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-15.13.3.tgz",
@@ -5925,6 +6261,17 @@
5925 6261
       "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
5926 6262
       "dev": true
5927 6263
     },
6264
+    "shelljs": {
6265
+      "version": "0.7.6",
6266
+      "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.7.6.tgz",
6267
+      "integrity": "sha1-N5zM+1a5HIYB5HkzVutTgpJN6a0=",
6268
+      "dev": true,
6269
+      "requires": {
6270
+        "glob": "^7.0.0",
6271
+        "interpret": "^1.0.0",
6272
+        "rechoir": "^0.6.2"
6273
+      }
6274
+    },
5928 6275
     "signal-exit": {
5929 6276
       "version": "3.0.2",
5930 6277
       "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
@@ -6298,6 +6645,15 @@
6298 6645
         "xtend": "~4.0.1"
6299 6646
       }
6300 6647
     },
6648
+    "tmp": {
6649
+      "version": "0.0.33",
6650
+      "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
6651
+      "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
6652
+      "dev": true,
6653
+      "requires": {
6654
+        "os-tmpdir": "~1.0.2"
6655
+      }
6656
+    },
6301 6657
     "to-object-path": {
6302 6658
       "version": "0.3.0",
6303 6659
       "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
@@ -6574,6 +6930,12 @@
6574 6930
         "execa": "^1.0.0"
6575 6931
       }
6576 6932
     },
6933
+    "word-wrap": {
6934
+      "version": "1.2.3",
6935
+      "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
6936
+      "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
6937
+      "dev": true
6938
+    },
6577 6939
     "wordwrap": {
6578 6940
       "version": "0.0.3",
6579 6941
       "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",

+ 12
- 4
package.json 查看文件

@@ -22,20 +22,28 @@
22 22
     "url": "https://github.com/yyyyu/react-native-geetest-sensebot.git"
23 23
   },
24 24
   "scripts": {
25
-    "commit": "npx git-cz",
26
-    "lint": "tslint --fix ./src/**/*.ts",
25
+    "test": "echo ignore",
27 26
     "build": "tsc",
27
+    "lint": "tslint --fix ./src/**/*.ts",
28
+    "commit": "npx git-cz",
28 29
     "semantic-release": "semantic-release"
29 30
   },
30 31
   "dependencies": {
31 32
     "@types/react-native": "^0.57.45"
32 33
   },
33 34
   "devDependencies": {
35
+    "commitizen": "^3.1.1",
36
+    "cz-conventional-changelog": "^2.1.0",
37
+    "semantic-release": "^15.13.3",
34 38
     "tslint": "^5.16.0",
35
-    "typescript": "^3.4.3",
36
-    "semantic-release": "^15.13.3"
39
+    "typescript": "^3.4.3"
37 40
   },
38 41
   "peerDependencies": {
39 42
     "react-native": "^0.59.5"
43
+  },
44
+  "config": {
45
+    "commitizen": {
46
+      "path": "./node_modules/cz-conventional-changelog"
47
+    }
40 48
   }
41 49
 }