mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
Fix dev:prod command and remove duplication
This commit is contained in:
parent
3cbebadf97
commit
1d330c5642
|
|
@ -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 .",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user