chore(cli): add prettier@2

This commit is contained in:
chenjiahan 2020-04-02 15:22:14 +08:00
parent efcb264c9d
commit feba3a873b
3 changed files with 7 additions and 2 deletions

View File

@ -91,8 +91,7 @@
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
"singleQuote": true
},
"browserslist": [
"Android >= 4.0",

View File

@ -88,6 +88,7 @@
"portfinder": "^1.0.25",
"postcss": "^7.0.27",
"postcss-loader": "^3.0.0",
"prettier": "^2.0.2",
"release-it": "^13.5.1",
"sass": "^1.26.3",
"sass-loader": "^8.0.2",

View File

@ -9058,6 +9058,11 @@ prettier@^1.18.2:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
prettier@^2.0.2:
version "2.0.2"
resolved "https://registry.npm.taobao.org/prettier/download/prettier-2.0.2.tgz?cache=0&sync_timestamp=1585003173514&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fprettier%2Fdownload%2Fprettier-2.0.2.tgz#1ba8f3eb92231e769b7fcd7cb73ae1b6b74ade08"
integrity sha1-G6jz65IjHnabf818tzrhtrdK3gg=
pretty-error@^2.1.1:
version "2.1.1"
resolved "https://registry.npm.taobao.org/pretty-error/download/pretty-error-2.1.1.tgz#5f4f87c8f91e5ae3f3ba87ab4cf5e03b1a17f1a3"