Showing
3 changed files
with
17 additions
and
365 deletions
.husky/pre-commit
0 → 100755
| @@ -8,13 +8,13 @@ | @@ -8,13 +8,13 @@ | ||
| 8 | "name": "learn-starter", | 8 | "name": "learn-starter", |
| 9 | "version": "0.1.0", | 9 | "version": "0.1.0", |
| 10 | "dependencies": { | 10 | "dependencies": { |
| 11 | + "husky": "^7.0.1", | ||
| 11 | "next": "^11.0.0", | 12 | "next": "^11.0.0", |
| 12 | "react": "17.0.2", | 13 | "react": "17.0.2", |
| 13 | "react-dom": "17.0.2" | 14 | "react-dom": "17.0.2" |
| 14 | }, | 15 | }, |
| 15 | "devDependencies": { | 16 | "devDependencies": { |
| 16 | "eslint": "^7.31.0", | 17 | "eslint": "^7.31.0", |
| 17 | - "husky": "^4.3.8", | ||
| 18 | "lint-staged": "^11.1.1", | 18 | "lint-staged": "^11.1.1", |
| 19 | "prettier": "^2.3.2" | 19 | "prettier": "^2.3.2" |
| 20 | } | 20 | } |
| @@ -737,12 +737,6 @@ | @@ -737,12 +737,6 @@ | ||
| 737 | "fsevents": "~2.3.1" | 737 | "fsevents": "~2.3.1" |
| 738 | } | 738 | } |
| 739 | }, | 739 | }, |
| 740 | - "node_modules/ci-info": { | ||
| 741 | - "version": "2.0.0", | ||
| 742 | - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", | ||
| 743 | - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", | ||
| 744 | - "dev": true | ||
| 745 | - }, | ||
| 746 | "node_modules/cipher-base": { | 740 | "node_modules/cipher-base": { |
| 747 | "version": "1.0.4", | 741 | "version": "1.0.4", |
| 748 | "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", | 742 | "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", |
| @@ -826,12 +820,6 @@ | @@ -826,12 +820,6 @@ | ||
| 826 | "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", | 820 | "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", |
| 827 | "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=" | 821 | "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=" |
| 828 | }, | 822 | }, |
| 829 | - "node_modules/compare-versions": { | ||
| 830 | - "version": "3.6.0", | ||
| 831 | - "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz", | ||
| 832 | - "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==", | ||
| 833 | - "dev": true | ||
| 834 | - }, | ||
| 835 | "node_modules/concat-map": { | 823 | "node_modules/concat-map": { |
| 836 | "version": "0.0.1", | 824 | "version": "0.0.1", |
| 837 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", | 825 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", |
| @@ -1645,21 +1633,6 @@ | @@ -1645,21 +1633,6 @@ | ||
| 1645 | "node": ">=8" | 1633 | "node": ">=8" |
| 1646 | } | 1634 | } |
| 1647 | }, | 1635 | }, |
| 1648 | - "node_modules/find-versions": { | ||
| 1649 | - "version": "4.0.0", | ||
| 1650 | - "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-4.0.0.tgz", | ||
| 1651 | - "integrity": "sha512-wgpWy002tA+wgmO27buH/9KzyEOQnKsG/R0yrcjPT9BOFm0zRBVQbZ95nRGXWMywS8YR5knRbpohio0bcJABxQ==", | ||
| 1652 | - "dev": true, | ||
| 1653 | - "dependencies": { | ||
| 1654 | - "semver-regex": "^3.1.2" | ||
| 1655 | - }, | ||
| 1656 | - "engines": { | ||
| 1657 | - "node": ">=10" | ||
| 1658 | - }, | ||
| 1659 | - "funding": { | ||
| 1660 | - "url": "https://github.com/sponsors/sindresorhus" | ||
| 1661 | - } | ||
| 1662 | - }, | ||
| 1663 | "node_modules/flat-cache": { | 1636 | "node_modules/flat-cache": { |
| 1664 | "version": "3.0.4", | 1637 | "version": "3.0.4", |
| 1665 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", | 1638 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", |
| @@ -1929,161 +1902,17 @@ | @@ -1929,161 +1902,17 @@ | ||
| 1929 | } | 1902 | } |
| 1930 | }, | 1903 | }, |
| 1931 | "node_modules/husky": { | 1904 | "node_modules/husky": { |
| 1932 | - "version": "4.3.8", | ||
| 1933 | - "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.8.tgz", | ||
| 1934 | - "integrity": "sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow==", | ||
| 1935 | - "dev": true, | ||
| 1936 | - "hasInstallScript": true, | ||
| 1937 | - "dependencies": { | ||
| 1938 | - "chalk": "^4.0.0", | ||
| 1939 | - "ci-info": "^2.0.0", | ||
| 1940 | - "compare-versions": "^3.6.0", | ||
| 1941 | - "cosmiconfig": "^7.0.0", | ||
| 1942 | - "find-versions": "^4.0.0", | ||
| 1943 | - "opencollective-postinstall": "^2.0.2", | ||
| 1944 | - "pkg-dir": "^5.0.0", | ||
| 1945 | - "please-upgrade-node": "^3.2.0", | ||
| 1946 | - "slash": "^3.0.0", | ||
| 1947 | - "which-pm-runs": "^1.0.0" | ||
| 1948 | - }, | 1905 | + "version": "7.0.1", |
| 1906 | + "resolved": "https://registry.npmjs.org/husky/-/husky-7.0.1.tgz", | ||
| 1907 | + "integrity": "sha512-gceRaITVZ+cJH9sNHqx5tFwbzlLCVxtVZcusME8JYQ8Edy5mpGDOqD8QBCdMhpyo9a+JXddnujQ4rpY2Ff9SJA==", | ||
| 1949 | "bin": { | 1908 | "bin": { |
| 1950 | - "husky-run": "bin/run.js", | ||
| 1951 | - "husky-upgrade": "lib/upgrader/bin.js" | ||
| 1952 | - }, | ||
| 1953 | - "engines": { | ||
| 1954 | - "node": ">=10" | ||
| 1955 | - }, | ||
| 1956 | - "funding": { | ||
| 1957 | - "type": "opencollective", | ||
| 1958 | - "url": "https://opencollective.com/husky" | ||
| 1959 | - } | ||
| 1960 | - }, | ||
| 1961 | - "node_modules/husky/node_modules/ansi-styles": { | ||
| 1962 | - "version": "4.3.0", | ||
| 1963 | - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", | ||
| 1964 | - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", | ||
| 1965 | - "dev": true, | ||
| 1966 | - "dependencies": { | ||
| 1967 | - "color-convert": "^2.0.1" | ||
| 1968 | - }, | ||
| 1969 | - "engines": { | ||
| 1970 | - "node": ">=8" | ||
| 1971 | - }, | ||
| 1972 | - "funding": { | ||
| 1973 | - "url": "https://github.com/chalk/ansi-styles?sponsor=1" | ||
| 1974 | - } | ||
| 1975 | - }, | ||
| 1976 | - "node_modules/husky/node_modules/chalk": { | ||
| 1977 | - "version": "4.1.1", | ||
| 1978 | - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", | ||
| 1979 | - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", | ||
| 1980 | - "dev": true, | ||
| 1981 | - "dependencies": { | ||
| 1982 | - "ansi-styles": "^4.1.0", | ||
| 1983 | - "supports-color": "^7.1.0" | 1909 | + "husky": "lib/bin.js" |
| 1984 | }, | 1910 | }, |
| 1985 | "engines": { | 1911 | "engines": { |
| 1986 | - "node": ">=10" | 1912 | + "node": ">=12" |
| 1987 | }, | 1913 | }, |
| 1988 | "funding": { | 1914 | "funding": { |
| 1989 | - "url": "https://github.com/chalk/chalk?sponsor=1" | ||
| 1990 | - } | ||
| 1991 | - }, | ||
| 1992 | - "node_modules/husky/node_modules/color-convert": { | ||
| 1993 | - "version": "2.0.1", | ||
| 1994 | - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", | ||
| 1995 | - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", | ||
| 1996 | - "dev": true, | ||
| 1997 | - "dependencies": { | ||
| 1998 | - "color-name": "~1.1.4" | ||
| 1999 | - }, | ||
| 2000 | - "engines": { | ||
| 2001 | - "node": ">=7.0.0" | ||
| 2002 | - } | ||
| 2003 | - }, | ||
| 2004 | - "node_modules/husky/node_modules/color-name": { | ||
| 2005 | - "version": "1.1.4", | ||
| 2006 | - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", | ||
| 2007 | - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", | ||
| 2008 | - "dev": true | ||
| 2009 | - }, | ||
| 2010 | - "node_modules/husky/node_modules/find-up": { | ||
| 2011 | - "version": "5.0.0", | ||
| 2012 | - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", | ||
| 2013 | - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", | ||
| 2014 | - "dev": true, | ||
| 2015 | - "dependencies": { | ||
| 2016 | - "locate-path": "^6.0.0", | ||
| 2017 | - "path-exists": "^4.0.0" | ||
| 2018 | - }, | ||
| 2019 | - "engines": { | ||
| 2020 | - "node": ">=10" | ||
| 2021 | - }, | ||
| 2022 | - "funding": { | ||
| 2023 | - "url": "https://github.com/sponsors/sindresorhus" | ||
| 2024 | - } | ||
| 2025 | - }, | ||
| 2026 | - "node_modules/husky/node_modules/has-flag": { | ||
| 2027 | - "version": "4.0.0", | ||
| 2028 | - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", | ||
| 2029 | - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", | ||
| 2030 | - "dev": true, | ||
| 2031 | - "engines": { | ||
| 2032 | - "node": ">=8" | ||
| 2033 | - } | ||
| 2034 | - }, | ||
| 2035 | - "node_modules/husky/node_modules/locate-path": { | ||
| 2036 | - "version": "6.0.0", | ||
| 2037 | - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", | ||
| 2038 | - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", | ||
| 2039 | - "dev": true, | ||
| 2040 | - "dependencies": { | ||
| 2041 | - "p-locate": "^5.0.0" | ||
| 2042 | - }, | ||
| 2043 | - "engines": { | ||
| 2044 | - "node": ">=10" | ||
| 2045 | - }, | ||
| 2046 | - "funding": { | ||
| 2047 | - "url": "https://github.com/sponsors/sindresorhus" | ||
| 2048 | - } | ||
| 2049 | - }, | ||
| 2050 | - "node_modules/husky/node_modules/p-locate": { | ||
| 2051 | - "version": "5.0.0", | ||
| 2052 | - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", | ||
| 2053 | - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", | ||
| 2054 | - "dev": true, | ||
| 2055 | - "dependencies": { | ||
| 2056 | - "p-limit": "^3.0.2" | ||
| 2057 | - }, | ||
| 2058 | - "engines": { | ||
| 2059 | - "node": ">=10" | ||
| 2060 | - }, | ||
| 2061 | - "funding": { | ||
| 2062 | - "url": "https://github.com/sponsors/sindresorhus" | ||
| 2063 | - } | ||
| 2064 | - }, | ||
| 2065 | - "node_modules/husky/node_modules/pkg-dir": { | ||
| 2066 | - "version": "5.0.0", | ||
| 2067 | - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-5.0.0.tgz", | ||
| 2068 | - "integrity": "sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==", | ||
| 2069 | - "dev": true, | ||
| 2070 | - "dependencies": { | ||
| 2071 | - "find-up": "^5.0.0" | ||
| 2072 | - }, | ||
| 2073 | - "engines": { | ||
| 2074 | - "node": ">=10" | ||
| 2075 | - } | ||
| 2076 | - }, | ||
| 2077 | - "node_modules/husky/node_modules/supports-color": { | ||
| 2078 | - "version": "7.2.0", | ||
| 2079 | - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", | ||
| 2080 | - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", | ||
| 2081 | - "dev": true, | ||
| 2082 | - "dependencies": { | ||
| 2083 | - "has-flag": "^4.0.0" | ||
| 2084 | - }, | ||
| 2085 | - "engines": { | ||
| 2086 | - "node": ">=8" | 1915 | + "url": "https://github.com/sponsors/typicode" |
| 2087 | } | 1916 | } |
| 2088 | }, | 1917 | }, |
| 2089 | "node_modules/iconv-lite": { | 1918 | "node_modules/iconv-lite": { |
| @@ -3414,15 +3243,6 @@ | @@ -3414,15 +3243,6 @@ | ||
| 3414 | "url": "https://github.com/sponsors/sindresorhus" | 3243 | "url": "https://github.com/sponsors/sindresorhus" |
| 3415 | } | 3244 | } |
| 3416 | }, | 3245 | }, |
| 3417 | - "node_modules/opencollective-postinstall": { | ||
| 3418 | - "version": "2.0.3", | ||
| 3419 | - "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz", | ||
| 3420 | - "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==", | ||
| 3421 | - "dev": true, | ||
| 3422 | - "bin": { | ||
| 3423 | - "opencollective-postinstall": "index.js" | ||
| 3424 | - } | ||
| 3425 | - }, | ||
| 3426 | "node_modules/optionator": { | 3246 | "node_modules/optionator": { |
| 3427 | "version": "0.9.1", | 3247 | "version": "0.9.1", |
| 3428 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", | 3248 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", |
| @@ -4022,18 +3842,6 @@ | @@ -4022,18 +3842,6 @@ | ||
| 4022 | "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", | 3842 | "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", |
| 4023 | "dev": true | 3843 | "dev": true |
| 4024 | }, | 3844 | }, |
| 4025 | - "node_modules/semver-regex": { | ||
| 4026 | - "version": "3.1.2", | ||
| 4027 | - "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-3.1.2.tgz", | ||
| 4028 | - "integrity": "sha512-bXWyL6EAKOJa81XG1OZ/Yyuq+oT0b2YLlxx7c+mrdYPaPbnj6WgVULXhinMIeZGufuUBu/eVRqXEhiv4imfwxA==", | ||
| 4029 | - "dev": true, | ||
| 4030 | - "engines": { | ||
| 4031 | - "node": ">=8" | ||
| 4032 | - }, | ||
| 4033 | - "funding": { | ||
| 4034 | - "url": "https://github.com/sponsors/sindresorhus" | ||
| 4035 | - } | ||
| 4036 | - }, | ||
| 4037 | "node_modules/setimmediate": { | 3845 | "node_modules/setimmediate": { |
| 4038 | "version": "1.0.5", | 3846 | "version": "1.0.5", |
| 4039 | "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", | 3847 | "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", |
| @@ -4088,15 +3896,6 @@ | @@ -4088,15 +3896,6 @@ | ||
| 4088 | "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", | 3896 | "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", |
| 4089 | "dev": true | 3897 | "dev": true |
| 4090 | }, | 3898 | }, |
| 4091 | - "node_modules/slash": { | ||
| 4092 | - "version": "3.0.0", | ||
| 4093 | - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", | ||
| 4094 | - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", | ||
| 4095 | - "dev": true, | ||
| 4096 | - "engines": { | ||
| 4097 | - "node": ">=8" | ||
| 4098 | - } | ||
| 4099 | - }, | ||
| 4100 | "node_modules/slice-ansi": { | 3899 | "node_modules/slice-ansi": { |
| 4101 | "version": "3.0.0", | 3900 | "version": "3.0.0", |
| 4102 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", | 3901 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", |
| @@ -4728,12 +4527,6 @@ | @@ -4728,12 +4527,6 @@ | ||
| 4728 | "url": "https://github.com/sponsors/ljharb" | 4527 | "url": "https://github.com/sponsors/ljharb" |
| 4729 | } | 4528 | } |
| 4730 | }, | 4529 | }, |
| 4731 | - "node_modules/which-pm-runs": { | ||
| 4732 | - "version": "1.0.0", | ||
| 4733 | - "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz", | ||
| 4734 | - "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=", | ||
| 4735 | - "dev": true | ||
| 4736 | - }, | ||
| 4737 | "node_modules/which-typed-array": { | 4530 | "node_modules/which-typed-array": { |
| 4738 | "version": "1.1.4", | 4531 | "version": "1.1.4", |
| 4739 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", | 4532 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", |
| @@ -5417,12 +5210,6 @@ | @@ -5417,12 +5210,6 @@ | ||
| 5417 | "readdirp": "~3.5.0" | 5210 | "readdirp": "~3.5.0" |
| 5418 | } | 5211 | } |
| 5419 | }, | 5212 | }, |
| 5420 | - "ci-info": { | ||
| 5421 | - "version": "2.0.0", | ||
| 5422 | - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", | ||
| 5423 | - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", | ||
| 5424 | - "dev": true | ||
| 5425 | - }, | ||
| 5426 | "cipher-base": { | 5213 | "cipher-base": { |
| 5427 | "version": "1.0.4", | 5214 | "version": "1.0.4", |
| 5428 | "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", | 5215 | "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", |
| @@ -5491,12 +5278,6 @@ | @@ -5491,12 +5278,6 @@ | ||
| 5491 | "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", | 5278 | "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", |
| 5492 | "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=" | 5279 | "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=" |
| 5493 | }, | 5280 | }, |
| 5494 | - "compare-versions": { | ||
| 5495 | - "version": "3.6.0", | ||
| 5496 | - "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz", | ||
| 5497 | - "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==", | ||
| 5498 | - "dev": true | ||
| 5499 | - }, | ||
| 5500 | "concat-map": { | 5281 | "concat-map": { |
| 5501 | "version": "0.0.1", | 5282 | "version": "0.0.1", |
| 5502 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", | 5283 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", |
| @@ -6148,15 +5929,6 @@ | @@ -6148,15 +5929,6 @@ | ||
| 6148 | "path-exists": "^4.0.0" | 5929 | "path-exists": "^4.0.0" |
| 6149 | } | 5930 | } |
| 6150 | }, | 5931 | }, |
| 6151 | - "find-versions": { | ||
| 6152 | - "version": "4.0.0", | ||
| 6153 | - "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-4.0.0.tgz", | ||
| 6154 | - "integrity": "sha512-wgpWy002tA+wgmO27buH/9KzyEOQnKsG/R0yrcjPT9BOFm0zRBVQbZ95nRGXWMywS8YR5knRbpohio0bcJABxQ==", | ||
| 6155 | - "dev": true, | ||
| 6156 | - "requires": { | ||
| 6157 | - "semver-regex": "^3.1.2" | ||
| 6158 | - } | ||
| 6159 | - }, | ||
| 6160 | "flat-cache": { | 5932 | "flat-cache": { |
| 6161 | "version": "3.0.4", | 5933 | "version": "3.0.4", |
| 6162 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", | 5934 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", |
| @@ -6361,110 +6133,9 @@ | @@ -6361,110 +6133,9 @@ | ||
| 6361 | "dev": true | 6133 | "dev": true |
| 6362 | }, | 6134 | }, |
| 6363 | "husky": { | 6135 | "husky": { |
| 6364 | - "version": "4.3.8", | ||
| 6365 | - "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.8.tgz", | ||
| 6366 | - "integrity": "sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow==", | ||
| 6367 | - "dev": true, | ||
| 6368 | - "requires": { | ||
| 6369 | - "chalk": "^4.0.0", | ||
| 6370 | - "ci-info": "^2.0.0", | ||
| 6371 | - "compare-versions": "^3.6.0", | ||
| 6372 | - "cosmiconfig": "^7.0.0", | ||
| 6373 | - "find-versions": "^4.0.0", | ||
| 6374 | - "opencollective-postinstall": "^2.0.2", | ||
| 6375 | - "pkg-dir": "^5.0.0", | ||
| 6376 | - "please-upgrade-node": "^3.2.0", | ||
| 6377 | - "slash": "^3.0.0", | ||
| 6378 | - "which-pm-runs": "^1.0.0" | ||
| 6379 | - }, | ||
| 6380 | - "dependencies": { | ||
| 6381 | - "ansi-styles": { | ||
| 6382 | - "version": "4.3.0", | ||
| 6383 | - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", | ||
| 6384 | - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", | ||
| 6385 | - "dev": true, | ||
| 6386 | - "requires": { | ||
| 6387 | - "color-convert": "^2.0.1" | ||
| 6388 | - } | ||
| 6389 | - }, | ||
| 6390 | - "chalk": { | ||
| 6391 | - "version": "4.1.1", | ||
| 6392 | - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", | ||
| 6393 | - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", | ||
| 6394 | - "dev": true, | ||
| 6395 | - "requires": { | ||
| 6396 | - "ansi-styles": "^4.1.0", | ||
| 6397 | - "supports-color": "^7.1.0" | ||
| 6398 | - } | ||
| 6399 | - }, | ||
| 6400 | - "color-convert": { | ||
| 6401 | - "version": "2.0.1", | ||
| 6402 | - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", | ||
| 6403 | - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", | ||
| 6404 | - "dev": true, | ||
| 6405 | - "requires": { | ||
| 6406 | - "color-name": "~1.1.4" | ||
| 6407 | - } | ||
| 6408 | - }, | ||
| 6409 | - "color-name": { | ||
| 6410 | - "version": "1.1.4", | ||
| 6411 | - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", | ||
| 6412 | - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", | ||
| 6413 | - "dev": true | ||
| 6414 | - }, | ||
| 6415 | - "find-up": { | ||
| 6416 | - "version": "5.0.0", | ||
| 6417 | - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", | ||
| 6418 | - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", | ||
| 6419 | - "dev": true, | ||
| 6420 | - "requires": { | ||
| 6421 | - "locate-path": "^6.0.0", | ||
| 6422 | - "path-exists": "^4.0.0" | ||
| 6423 | - } | ||
| 6424 | - }, | ||
| 6425 | - "has-flag": { | ||
| 6426 | - "version": "4.0.0", | ||
| 6427 | - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", | ||
| 6428 | - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", | ||
| 6429 | - "dev": true | ||
| 6430 | - }, | ||
| 6431 | - "locate-path": { | ||
| 6432 | - "version": "6.0.0", | ||
| 6433 | - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", | ||
| 6434 | - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", | ||
| 6435 | - "dev": true, | ||
| 6436 | - "requires": { | ||
| 6437 | - "p-locate": "^5.0.0" | ||
| 6438 | - } | ||
| 6439 | - }, | ||
| 6440 | - "p-locate": { | ||
| 6441 | - "version": "5.0.0", | ||
| 6442 | - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", | ||
| 6443 | - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", | ||
| 6444 | - "dev": true, | ||
| 6445 | - "requires": { | ||
| 6446 | - "p-limit": "^3.0.2" | ||
| 6447 | - } | ||
| 6448 | - }, | ||
| 6449 | - "pkg-dir": { | ||
| 6450 | - "version": "5.0.0", | ||
| 6451 | - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-5.0.0.tgz", | ||
| 6452 | - "integrity": "sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==", | ||
| 6453 | - "dev": true, | ||
| 6454 | - "requires": { | ||
| 6455 | - "find-up": "^5.0.0" | ||
| 6456 | - } | ||
| 6457 | - }, | ||
| 6458 | - "supports-color": { | ||
| 6459 | - "version": "7.2.0", | ||
| 6460 | - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", | ||
| 6461 | - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", | ||
| 6462 | - "dev": true, | ||
| 6463 | - "requires": { | ||
| 6464 | - "has-flag": "^4.0.0" | ||
| 6465 | - } | ||
| 6466 | - } | ||
| 6467 | - } | 6136 | + "version": "7.0.1", |
| 6137 | + "resolved": "https://registry.npmjs.org/husky/-/husky-7.0.1.tgz", | ||
| 6138 | + "integrity": "sha512-gceRaITVZ+cJH9sNHqx5tFwbzlLCVxtVZcusME8JYQ8Edy5mpGDOqD8QBCdMhpyo9a+JXddnujQ4rpY2Ff9SJA==" | ||
| 6468 | }, | 6139 | }, |
| 6469 | "iconv-lite": { | 6140 | "iconv-lite": { |
| 6470 | "version": "0.6.3", | 6141 | "version": "0.6.3", |
| @@ -7449,12 +7120,6 @@ | @@ -7449,12 +7120,6 @@ | ||
| 7449 | "mimic-fn": "^2.1.0" | 7120 | "mimic-fn": "^2.1.0" |
| 7450 | } | 7121 | } |
| 7451 | }, | 7122 | }, |
| 7452 | - "opencollective-postinstall": { | ||
| 7453 | - "version": "2.0.3", | ||
| 7454 | - "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz", | ||
| 7455 | - "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==", | ||
| 7456 | - "dev": true | ||
| 7457 | - }, | ||
| 7458 | "optionator": { | 7123 | "optionator": { |
| 7459 | "version": "0.9.1", | 7124 | "version": "0.9.1", |
| 7460 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", | 7125 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", |
| @@ -7907,12 +7572,6 @@ | @@ -7907,12 +7572,6 @@ | ||
| 7907 | "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", | 7572 | "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", |
| 7908 | "dev": true | 7573 | "dev": true |
| 7909 | }, | 7574 | }, |
| 7910 | - "semver-regex": { | ||
| 7911 | - "version": "3.1.2", | ||
| 7912 | - "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-3.1.2.tgz", | ||
| 7913 | - "integrity": "sha512-bXWyL6EAKOJa81XG1OZ/Yyuq+oT0b2YLlxx7c+mrdYPaPbnj6WgVULXhinMIeZGufuUBu/eVRqXEhiv4imfwxA==", | ||
| 7914 | - "dev": true | ||
| 7915 | - }, | ||
| 7916 | "setimmediate": { | 7575 | "setimmediate": { |
| 7917 | "version": "1.0.5", | 7576 | "version": "1.0.5", |
| 7918 | "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", | 7577 | "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", |
| @@ -7958,12 +7617,6 @@ | @@ -7958,12 +7617,6 @@ | ||
| 7958 | "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", | 7617 | "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", |
| 7959 | "dev": true | 7618 | "dev": true |
| 7960 | }, | 7619 | }, |
| 7961 | - "slash": { | ||
| 7962 | - "version": "3.0.0", | ||
| 7963 | - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", | ||
| 7964 | - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", | ||
| 7965 | - "dev": true | ||
| 7966 | - }, | ||
| 7967 | "slice-ansi": { | 7620 | "slice-ansi": { |
| 7968 | "version": "3.0.0", | 7621 | "version": "3.0.0", |
| 7969 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", | 7622 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", |
| @@ -8469,12 +8122,6 @@ | @@ -8469,12 +8122,6 @@ | ||
| 8469 | "is-symbol": "^1.0.3" | 8122 | "is-symbol": "^1.0.3" |
| 8470 | } | 8123 | } |
| 8471 | }, | 8124 | }, |
| 8472 | - "which-pm-runs": { | ||
| 8473 | - "version": "1.0.0", | ||
| 8474 | - "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz", | ||
| 8475 | - "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=", | ||
| 8476 | - "dev": true | ||
| 8477 | - }, | ||
| 8478 | "which-typed-array": { | 8125 | "which-typed-array": { |
| 8479 | "version": "1.1.4", | 8126 | "version": "1.1.4", |
| 8480 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", | 8127 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", |
| @@ -5,16 +5,17 @@ | @@ -5,16 +5,17 @@ | ||
| 5 | "scripts": { | 5 | "scripts": { |
| 6 | "dev": "next dev", | 6 | "dev": "next dev", |
| 7 | "build": "next build", | 7 | "build": "next build", |
| 8 | - "start": "next start" | 8 | + "start": "next start", |
| 9 | + "prepare": "husky install" | ||
| 9 | }, | 10 | }, |
| 10 | "dependencies": { | 11 | "dependencies": { |
| 12 | + "husky": "^7.0.1", | ||
| 11 | "next": "^11.0.0", | 13 | "next": "^11.0.0", |
| 12 | "react": "17.0.2", | 14 | "react": "17.0.2", |
| 13 | "react-dom": "17.0.2" | 15 | "react-dom": "17.0.2" |
| 14 | }, | 16 | }, |
| 15 | "devDependencies": { | 17 | "devDependencies": { |
| 16 | "eslint": "^7.31.0", | 18 | "eslint": "^7.31.0", |
| 17 | - "husky": "^4.3.8", | ||
| 18 | "lint-staged": "^11.1.1", | 19 | "lint-staged": "^11.1.1", |
| 19 | "prettier": "^2.3.2" | 20 | "prettier": "^2.3.2" |
| 20 | }, | 21 | }, |