mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-11 09:11:50 +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:
parent
2f0a505297
commit
0c8b87983b
7
.prettierignore
Normal file
7
.prettierignore
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
*.gif
|
||||||
|
*.jpg
|
||||||
|
*.mp3
|
||||||
|
*.png
|
||||||
|
*.wav
|
||||||
|
*.webm
|
||||||
|
*.woff2
|
||||||
@ -10,7 +10,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"gulp": "gulp --cwd gulp",
|
"gulp": "gulp --cwd gulp",
|
||||||
"lint": "(eslint . && tsc && tsc -p src) || (tsc && tsc -p src) || tsc -p src",
|
"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",
|
"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-x64": "gulp --cwd gulp package.standalone.win32-x64",
|
||||||
"package-win32-arm64": "gulp --cwd gulp package.standalone.win32-arm64",
|
"package-win32-arm64": "gulp --cwd gulp package.standalone.win32-arm64",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user