style: use Prettier with cache enabled

This commit is contained in:
Alfi Maulana 2024-02-11 16:29:15 +07:00
parent 40abb6d4b8
commit 9b6a7996c0
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

View File

@ -3,7 +3,7 @@
"type": "module",
"scripts": {
"build": "tsc && ncc build src/index.mjs -o dist",
"format": "prettier --write . !dist !README.md",
"format": "prettier --write --cache . !dist !README.md",
"lint": "eslint --ignore-path .gitignore .",
"test": "tsc && jest"
},