chore: ignore JS/JSX files and add clean script to frontend
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
# Created by https://www.toptal.com/developers/gitignore/api/node,python
|
# Created by https://www.toptal.com/developers/gitignore/api/node,python
|
||||||
# Edit at https://www.toptal.com/developers/gitignore?templates=node,python
|
# Edit at https://www.toptal.com/developers/gitignore?templates=node,python
|
||||||
|
|
||||||
|
# Frontend generated files
|
||||||
|
*.js
|
||||||
|
*.jsx
|
||||||
|
|
||||||
### Node ###
|
### Node ###
|
||||||
# Logs
|
# Logs
|
||||||
logs
|
logs
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"test": "DEBUG_PRINT_LIMIT=0 vitest run --reporter=dot --no-color",
|
"test": "DEBUG_PRINT_LIMIT=0 vitest run --reporter=dot --no-color",
|
||||||
"test:all": "vitest run && npx playwright test",
|
"test:all": "vitest run && npx playwright test",
|
||||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||||
|
"clean": "find src -name '*.js' -o -name '*.jsx' -delete"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tanstack/react-query": "^5.100.5",
|
"@tanstack/react-query": "^5.100.5",
|
||||||
|
|||||||
Reference in New Issue
Block a user