mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-22 13:36:27 +08:00
pretty scripts
This commit is contained in:
parent
9093a15900
commit
09a59aacc1
2 changed files with 5 additions and 4 deletions
|
@ -12,3 +12,5 @@ backend/logs
|
|||
backend/coverage
|
||||
backend/globalConfig.json
|
||||
frontend/public
|
||||
frontend/dist
|
||||
frontend/coverage
|
|
@ -19,12 +19,11 @@
|
|||
"release": "release-it -c .release-it.json",
|
||||
"release-fe": "release-it -c .release-it-fe.json",
|
||||
"hotfix": "cd frontend && npm run deploy-live && cd .. && sh ./bin/purgeCfCache.sh",
|
||||
"build-fe": "cd ./frontend && npm run build",
|
||||
"pretty": "prettier --check \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./frontend/static/**/*.{json,html,css}\"",
|
||||
"pretty-code": "prettier --check \"./backend/**/*.{ts,js,json,css,html}\" \"./frontend/**/*.{ts,js}\" \"./frontend/src/**/*.scss\"",
|
||||
"pretty": "prettier --check \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./packages/**/*.{ts,js,json}\" \"./frontend/static/**/*.{json,html,css}\"",
|
||||
"pretty-code": "prettier --check \"./backend/**/*.{ts,js,json,css,html}\" \"./frontend/**/*.{ts,js}\" \"./packages/**/*.{ts,js,json}\" \"./frontend/src/**/*.scss\" ",
|
||||
"pretty-code-be": "prettier --check \"./backend/**/*.{ts,js,json,css,html}\"",
|
||||
"pretty-code-fe": "prettier --check \"./frontend/**/*.{ts,js}\" \"./frontend/src/**/*.scss\"",
|
||||
"pretty-fix": "prettier --write \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./frontend/static/**/*.{json,html,css}\"",
|
||||
"pretty-fix": "prettier --write \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./packages/**/*.{ts,js,json}\" \"./frontend/static/**/*.{json,html,css}\"",
|
||||
"pr-check-lint-json": "cd frontend && eslint './static/**/*.json'",
|
||||
"pr-check-quote-json": "cd frontend && npx gulp pr-check-quote-json",
|
||||
"pr-check-language-json": "cd frontend && npx gulp pr-check-language-json",
|
||||
|
|
Loading…
Add table
Reference in a new issue