Commit dbcc40f5ea05ed1d69c61ecb0e60020f6915d61d
1 parent
acea1843
chore: remove pretty
Showing
3 changed files
with
1 additions
and
51 deletions
.husky/pre-commit
package.json
@@ -24,7 +24,6 @@ | @@ -24,7 +24,6 @@ | ||
24 | "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", | 24 | "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", |
25 | "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | 25 | "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", |
26 | "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js", | 26 | "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js", |
27 | - "lint:pretty": "pretty-quick --staged", | ||
28 | "test:unit": "jest", | 27 | "test:unit": "jest", |
29 | "test:unit-coverage": "jest --coverage", | 28 | "test:unit-coverage": "jest --coverage", |
30 | "test:gzip": "http-server dist --cors --gzip -c-1", | 29 | "test:gzip": "http-server dist --cors --gzip -c-1", |
@@ -121,7 +120,6 @@ | @@ -121,7 +120,6 @@ | ||
121 | "postcss-html": "^1.1.0", | 120 | "postcss-html": "^1.1.0", |
122 | "postcss-less": "^5.0.0", | 121 | "postcss-less": "^5.0.0", |
123 | "prettier": "^2.4.1", | 122 | "prettier": "^2.4.1", |
124 | - "pretty-quick": "^3.1.1", | ||
125 | "rimraf": "^3.0.2", | 123 | "rimraf": "^3.0.2", |
126 | "rollup-plugin-visualizer": "^5.5.2", | 124 | "rollup-plugin-visualizer": "^5.5.2", |
127 | "stylelint": "^14.0.0", | 125 | "stylelint": "^14.0.0", |
yarn.lock
@@ -1853,7 +1853,7 @@ | @@ -1853,7 +1853,7 @@ | ||
1853 | resolved "https://registry.nlark.com/@types/lodash/download/@types/lodash-4.14.173.tgz#9d3b674c67a26cf673756f6aca7b429f237f91ed" | 1853 | resolved "https://registry.nlark.com/@types/lodash/download/@types/lodash-4.14.173.tgz#9d3b674c67a26cf673756f6aca7b429f237f91ed" |
1854 | integrity sha1-nTtnTGeibPZzdW9qyntCnyN/ke0= | 1854 | integrity sha1-nTtnTGeibPZzdW9qyntCnyN/ke0= |
1855 | 1855 | ||
1856 | -"@types/minimatch@*", "@types/minimatch@^3.0.3": | 1856 | +"@types/minimatch@*": |
1857 | version "3.0.5" | 1857 | version "3.0.5" |
1858 | resolved "https://registry.nlark.com/@types/minimatch/download/@types/minimatch-3.0.5.tgz?cache=0&sync_timestamp=1629708301760&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fminimatch%2Fdownload%2F%40types%2Fminimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" | 1858 | resolved "https://registry.nlark.com/@types/minimatch/download/@types/minimatch-3.0.5.tgz?cache=0&sync_timestamp=1629708301760&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fminimatch%2Fdownload%2F%40types%2Fminimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" |
1859 | integrity sha1-EAHMXmo3BLg8I2An538vWOoBD0A= | 1859 | integrity sha1-EAHMXmo3BLg8I2An538vWOoBD0A= |
@@ -2663,11 +2663,6 @@ arr-union@^3.1.0: | @@ -2663,11 +2663,6 @@ arr-union@^3.1.0: | ||
2663 | resolved "https://registry.nlark.com/arr-union/download/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" | 2663 | resolved "https://registry.nlark.com/arr-union/download/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" |
2664 | integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= | 2664 | integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= |
2665 | 2665 | ||
2666 | -array-differ@^3.0.0: | ||
2667 | - version "3.0.0" | ||
2668 | - resolved "https://registry.nlark.com/array-differ/download/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" | ||
2669 | - integrity sha1-PLs9DzFoEOr8xHYkc0I31q7krms= | ||
2670 | - | ||
2671 | array-find-index@^1.0.1: | 2666 | array-find-index@^1.0.1: |
2672 | version "1.0.2" | 2667 | version "1.0.2" |
2673 | resolved "https://registry.nlark.com/array-find-index/download/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" | 2668 | resolved "https://registry.nlark.com/array-find-index/download/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" |
@@ -2698,11 +2693,6 @@ arrify@^1.0.1: | @@ -2698,11 +2693,6 @@ arrify@^1.0.1: | ||
2698 | resolved "https://registry.nlark.com/arrify/download/arrify-1.0.1.tgz?cache=0&sync_timestamp=1619599497996&other_urls=https%3A%2F%2Fregistry.nlark.com%2Farrify%2Fdownload%2Farrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" | 2693 | resolved "https://registry.nlark.com/arrify/download/arrify-1.0.1.tgz?cache=0&sync_timestamp=1619599497996&other_urls=https%3A%2F%2Fregistry.nlark.com%2Farrify%2Fdownload%2Farrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" |
2699 | integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= | 2694 | integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= |
2700 | 2695 | ||
2701 | -arrify@^2.0.1: | ||
2702 | - version "2.0.1" | ||
2703 | - resolved "https://registry.nlark.com/arrify/download/arrify-2.0.1.tgz?cache=0&sync_timestamp=1619599497996&other_urls=https%3A%2F%2Fregistry.nlark.com%2Farrify%2Fdownload%2Farrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" | ||
2704 | - integrity sha1-yWVekzHgq81YjSp8rX6ZVvZnAfo= | ||
2705 | - | ||
2706 | asap@~2.0.3: | 2696 | asap@~2.0.3: |
2707 | version "2.0.6" | 2697 | version "2.0.6" |
2708 | resolved "https://registry.nlark.com/asap/download/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" | 2698 | resolved "https://registry.nlark.com/asap/download/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" |
@@ -3263,14 +3253,6 @@ chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: | @@ -3263,14 +3253,6 @@ chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: | ||
3263 | escape-string-regexp "^1.0.5" | 3253 | escape-string-regexp "^1.0.5" |
3264 | supports-color "^5.3.0" | 3254 | supports-color "^5.3.0" |
3265 | 3255 | ||
3266 | -chalk@^3.0.0: | ||
3267 | - version "3.0.0" | ||
3268 | - resolved "https://registry.nlark.com/chalk/download/chalk-3.0.0.tgz?cache=0&sync_timestamp=1627646697260&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchalk%2Fdownload%2Fchalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" | ||
3269 | - integrity sha1-P3PCv1JlkfV0zEksUeJFY0n4ROQ= | ||
3270 | - dependencies: | ||
3271 | - ansi-styles "^4.1.0" | ||
3272 | - supports-color "^7.1.0" | ||
3273 | - | ||
3274 | chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: | 3256 | chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: |
3275 | version "4.1.2" | 3257 | version "4.1.2" |
3276 | resolved "https://registry.nlark.com/chalk/download/chalk-4.1.2.tgz?cache=0&sync_timestamp=1627646697260&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchalk%2Fdownload%2Fchalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" | 3258 | resolved "https://registry.nlark.com/chalk/download/chalk-4.1.2.tgz?cache=0&sync_timestamp=1627646697260&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchalk%2Fdownload%2Fchalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" |
@@ -8126,11 +8108,6 @@ mozjpeg@^7.0.0: | @@ -8126,11 +8108,6 @@ mozjpeg@^7.0.0: | ||
8126 | bin-wrapper "^4.0.0" | 8108 | bin-wrapper "^4.0.0" |
8127 | logalot "^2.1.0" | 8109 | logalot "^2.1.0" |
8128 | 8110 | ||
8129 | -mri@^1.1.5: | ||
8130 | - version "1.2.0" | ||
8131 | - resolved "https://registry.nlark.com/mri/download/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b" | ||
8132 | - integrity sha1-ZyFID+wqEaSImGERWki2y+fMjws= | ||
8133 | - | ||
8134 | ms@2.0.0: | 8111 | ms@2.0.0: |
8135 | version "2.0.0" | 8112 | version "2.0.0" |
8136 | resolved "https://registry.nlark.com/ms/download/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" | 8113 | resolved "https://registry.nlark.com/ms/download/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" |
@@ -8146,17 +8123,6 @@ ms@^2.1.1: | @@ -8146,17 +8123,6 @@ ms@^2.1.1: | ||
8146 | resolved "https://registry.nlark.com/ms/download/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" | 8123 | resolved "https://registry.nlark.com/ms/download/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" |
8147 | integrity sha1-V0yBOM4dK1hh8LRFedut1gxmFbI= | 8124 | integrity sha1-V0yBOM4dK1hh8LRFedut1gxmFbI= |
8148 | 8125 | ||
8149 | -multimatch@^4.0.0: | ||
8150 | - version "4.0.0" | ||
8151 | - resolved "https://registry.npm.taobao.org/multimatch/download/multimatch-4.0.0.tgz#8c3c0f6e3e8449ada0af3dd29efb491a375191b3" | ||
8152 | - integrity sha1-jDwPbj6ESa2grz3SnvtJGjdRkbM= | ||
8153 | - dependencies: | ||
8154 | - "@types/minimatch" "^3.0.3" | ||
8155 | - array-differ "^3.0.0" | ||
8156 | - array-union "^2.1.0" | ||
8157 | - arrify "^2.0.1" | ||
8158 | - minimatch "^3.0.4" | ||
8159 | - | ||
8160 | mute-stream@0.0.7: | 8126 | mute-stream@0.0.7: |
8161 | version "0.0.7" | 8127 | version "0.0.7" |
8162 | resolved "https://registry.nlark.com/mute-stream/download/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" | 8128 | resolved "https://registry.nlark.com/mute-stream/download/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" |
@@ -9143,18 +9109,6 @@ pretty-format@^27.3.1: | @@ -9143,18 +9109,6 @@ pretty-format@^27.3.1: | ||
9143 | ansi-styles "^5.0.0" | 9109 | ansi-styles "^5.0.0" |
9144 | react-is "^17.0.1" | 9110 | react-is "^17.0.1" |
9145 | 9111 | ||
9146 | -pretty-quick@^3.1.1: | ||
9147 | - version "3.1.1" | ||
9148 | - resolved "https://registry.nlark.com/pretty-quick/download/pretty-quick-3.1.1.tgz#93ca4e2dd38cc4e970e3f54a0ead317a25454688" | ||
9149 | - integrity sha1-k8pOLdOMxOlw4/VKDq0xeiVFRog= | ||
9150 | - dependencies: | ||
9151 | - chalk "^3.0.0" | ||
9152 | - execa "^4.0.0" | ||
9153 | - find-up "^4.1.0" | ||
9154 | - ignore "^5.1.4" | ||
9155 | - mri "^1.1.5" | ||
9156 | - multimatch "^4.0.0" | ||
9157 | - | ||
9158 | print-js@^1.6.0: | 9112 | print-js@^1.6.0: |
9159 | version "1.6.0" | 9113 | version "1.6.0" |
9160 | resolved "https://registry.npm.taobao.org/print-js/download/print-js-1.6.0.tgz#692b046cf31992b46afa6c6d8a9db1c69d431d1f" | 9114 | resolved "https://registry.npm.taobao.org/print-js/download/print-js-1.6.0.tgz#692b046cf31992b46afa6c6d8a9db1c69d431d1f" |