Skip to content

Commit

Permalink
Add prettier to dev deps, ignore dist
Browse files Browse the repository at this point in the history
  • Loading branch information
rotu committed Sep 28, 2022
1 parent 4425fb0 commit dd21bcb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"sideEffects": false,
"scripts": {
"serve": "vite dev --open /dev/index.html",
"build": "vite build"
"build": "vite build",
"prepare": "prettier --write ."
},
"dependencies": {
"mitt": "^3.0.0"
Expand All @@ -49,6 +50,7 @@
"@vitejs/plugin-vue": "^3.1.0",
"@vue/compiler-sfc": "^3.2.37",
"maplibre-gl": "^2.3.0",
"prettier": "^2.7.1",
"sass": "^1.54.9",
"typescript": "^4.8.3",
"vite": "^3.1.3",
Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1904,6 +1904,15 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:^2.7.1":
version: 2.7.1
resolution: "prettier@npm:2.7.1"
bin:
prettier: bin-prettier.js
checksum: 55a4409182260866ab31284d929b3cb961e5fdb91fe0d2e099dac92eaecec890f36e524b4c19e6ceae839c99c6d7195817579cdffc8e2c80da0cb794463a748b
languageName: node
linkType: hard

"promise-inflight@npm:^1.0.1":
version: 1.0.1
resolution: "promise-inflight@npm:1.0.1"
Expand Down Expand Up @@ -2486,6 +2495,7 @@ __metadata:
"@vue/compiler-sfc": ^3.2.37
maplibre-gl: ^2.3.0
mitt: ^3.0.0
prettier: ^2.7.1
sass: ^1.54.9
typescript: ^4.8.3
vite: ^3.1.3
Expand Down

0 comments on commit dd21bcb

Please sign in to comment.