Skip to content

Commit

Permalink
add: prettier to prettify dist result
Browse files Browse the repository at this point in the history
  • Loading branch information
zuramai committed Aug 1, 2022
1 parent 2b370fd commit fb90be3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"production": "mix --production",
"rtl": "rtlcss -d \"dist/assets/css\" -e \".rtl.css\" && find . -type f -name '*.rtl.rtl.css' -delete",
"prod-rtl": "mix --production && rtl",
"prettify": "prettier --check 'dist/*.html'",
"zip": "bestzip dist.zip dist/*"
},
"author": "zuramai",
Expand Down Expand Up @@ -63,6 +64,7 @@
"laravel-mix-glob": "^1.1.10",
"laravel-mix-nunjucks": "^1.1.0",
"postcss": "^8.4.12",
"prettier": "^2.7.1",
"release-it": "^14.14.3",
"resolve-url-loader": "^3.1.4",
"sass": "^1.49.9",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7051,6 +7051,11 @@ prepend-http@^2.0.0:
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
integrity sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==

prettier@^2.7.1:
version "2.7.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64"
integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==

pretty-time@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/pretty-time/-/pretty-time-1.1.0.tgz#ffb7429afabb8535c346a34e41873adf3d74dd0e"
Expand Down

0 comments on commit fb90be3

Please sign in to comment.