diff --git a/Makefile b/Makefile index 29602a0..474ce2d 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,11 @@ pretty: npx prettier --write "./src/**/*.(ts|vue)" + +check: + npm run type-check && npm run lint + +local: check + npm run local + +deploy: check + npm run deploy diff --git a/package.json b/package.json index 8801592..3f3d0a1 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "preview": "vite preview", "build-only": "vite build", "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false", - "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", + "lint": "eslint ./src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "format": "prettier --write src/", "local": "npm run build && firebase serve --only hosting", "deploy": "npm run build && firebase deploy --only hosting:contexted-v3" diff --git a/src/App.vue b/src/App.vue index de2bc33..18a34ae 100644 --- a/src/App.vue +++ b/src/App.vue @@ -111,7 +111,7 @@ const topBarHeightWithSafeArea = computed(() => `calc(${topBarHeight}px + var(-- - +