chore: add prettier
This commit is contained in:
5
.prettierrc
Normal file
5
.prettierrc
Normal file
@@ -0,0 +1,5 @@
|
||||
semi: true
|
||||
tabWidth: 2
|
||||
singleQuote: true
|
||||
printWidth: 80
|
||||
trailingComma: none
|
@@ -8,7 +8,8 @@
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc"
|
||||
"build": "tsc",
|
||||
"dev": "tsc -w"
|
||||
},
|
||||
"keywords": [
|
||||
"vite",
|
||||
@@ -34,6 +35,7 @@
|
||||
"@types/fs-extra": "^9.0.8",
|
||||
"@types/node": "^14.14.31",
|
||||
"@types/serve-static": "^1.13.9",
|
||||
"prettier": "^2.2.1",
|
||||
"typescript": "^4.2.2",
|
||||
"vite": "^2.0.4"
|
||||
},
|
||||
|
@@ -236,6 +236,11 @@ postcss@^8.2.1:
|
||||
nanoid "^3.1.20"
|
||||
source-map "^0.6.1"
|
||||
|
||||
prettier@^2.2.1:
|
||||
version "2.2.1"
|
||||
resolved "https://registry.npm.taobao.org/prettier/download/prettier-2.2.1.tgz?cache=0&sync_timestamp=1606523097359&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fprettier%2Fdownload%2Fprettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
|
||||
integrity sha1-eVoaeN1S8HPaDNQrIfnJE4GSP/U=
|
||||
|
||||
range-parser@~1.2.1:
|
||||
version "1.2.1"
|
||||
resolved "https://registry.npm.taobao.org/range-parser/download/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031"
|
||||
|
Reference in New Issue
Block a user