Fix dev:prod command and remove duplication
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run

This commit is contained in:
Kalle 2025-10-14 19:24:18 +03:00
parent 3cbebadf97
commit 1d330c5642

View File

@ -8,14 +8,15 @@
"deploy": "npm ci && npm run build",
"build": "remix vite:build",
"dev": "cross-env DB_PATH=db.sqlite3 npm run migrate up && npm run setup && remix vite:dev --host",
"dev:prod": "DB_PATH=db-prod.sqlite3 VITE_PROD_MODE=true npm run dev",
"dev:prod": "cross-env DB_PATH=db-prod.sqlite3 VITE_PROD_MODE=true remix vite:dev --host",
"start": "npm run migrate up && remix-serve ./build/server/index.js",
"migrate": "ley",
"migrate:prod": "cross-env DB_PATH=db-prod.sqlite3 npm run migrate up",
"check-translation-jsons": "node --experimental-strip-types scripts/check-translation-jsons.ts",
"check-translation-jsons:no-write": "node --experimental-strip-types scripts/check-translation-jsons.ts --no-write",
"check-homemade-badges": "node --experimental-strip-types scripts/check-homemade-badges.ts",
"check-articles": "tsx scripts/check-articles.ts",
"refresh-prod-db": "node --experimental-strip-types scripts/refresh-prod-db.ts && cross-env DB_PATH=db-prod.sqlite3 npm run migrate up",
"refresh-prod-db": "node --experimental-strip-types scripts/refresh-prod-db.ts && npm run migrate:prod",
"biome:check": "npx @biomejs/biome check .",
"biome:fix": "npx @biomejs/biome check --write .",
"biome:fix:unsafe": "npx @biomejs/biome check --write --unsafe .",