1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-10 00:31:51 +00:00

Update prettier-all script

Also exclude files with extensions that are usually large. Reduces the
format time by approximately 4 seconds.
This commit is contained in:
Даниїл Григор'єв 2024-06-20 13:29:06 +03:00
parent 2f0a505297
commit 0c8b87983b
No known key found for this signature in database
GPG Key ID: B890DF16341D8C1D
2 changed files with 8 additions and 1 deletions

7
.prettierignore Normal file
View File

@ -0,0 +1,7 @@
*.gif
*.jpg
*.mp3
*.png
*.wav
*.webm
*.woff2

View File

@ -10,7 +10,7 @@
"scripts": {
"gulp": "gulp --cwd gulp",
"lint": "(eslint . && tsc && tsc -p src) || (tsc && tsc -p src) || tsc -p src",
"prettier-all": "prettier --write src/**/*.* && prettier --write gulp/**/*.*",
"prettier-all": "prettier --write .",
"buildTypes": "tsc src/js/application.js --declaration --allowJs --emitDeclarationOnly --skipLibCheck --out types.js",
"package-win32-x64": "gulp --cwd gulp package.standalone.win32-x64",
"package-win32-arm64": "gulp --cwd gulp package.standalone.win32-arm64",