chore: add lint script

This commit is contained in:
zv
2026-06-24 15:19:35 +02:00
parent f4e081f6ef
commit 44c4050878
2 changed files with 10 additions and 1 deletions

View File

@@ -79,13 +79,19 @@ Run tests:
npm test
```
Run static checks:
```bash
npm run lint
```
Build for production:
```bash
npm run build
```
Preview the production build:
Preview the production build locally:
```bash
npm run preview
@@ -97,6 +103,8 @@ You can also use the `start` alias after building:
npm run start
```
For deployment, serve the generated `dist/` directory with any static web server.
## Notes
MapSift uses the public Overpass API. Large viewport searches are blocked in the UI to avoid irresponsible requests. If a query returns too much data or the API is busy, zoom in, reduce filters, or try again later.

View File

@@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"lint": "tsc -b --pretty false",
"build": "tsc -b && vite build",
"preview": "vite preview",
"start": "vite preview",