chore(app): move build & preview scripts to app workspace

This commit is contained in:
ayo 2026-04-03 15:43:16 +02:00
parent 0555154ea6
commit 6b01a0272e
2 changed files with 6 additions and 3 deletions

View file

@ -4,6 +4,11 @@
"description": "the mnswpr.com web app",
"private": true,
"main": "main.js",
"scripts": {
"build": "vite build",
"preview": "vite preview",
"build:preview": "npm run build && npm run preview"
},
"devDependencies": {
"@ayo-run/mnswpr": "workspace:*",
"firebase": "^12.11.0"

View file

@ -13,9 +13,7 @@
"test": "echo \"Warn: no test specified\"",
"dev": "vite app",
"start": "vite app",
"build": "vite build app",
"preview": "vite preview app",
"build:preview": "npm run build && npm run preview",
"build:preview": "pnpm -F app run build:preview",
"build:lib": "vite build lib --config vite-lib.config.js",
"release": "pnpm run build:lib && pnpm -F @ayo-run/mnswpr release",
"prepare": "husky",