1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 14:44:21 +00:00

Change up build scripts in hopes vercel will be able to build this

This commit is contained in:
Steffo 2022-06-08 04:31:51 +02:00
parent f3ef281feb
commit bb814964ad
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 9 additions and 8 deletions

View file

@ -1,2 +1,3 @@
FESTA_TOKEN_EXPIRATION_MS=86400000 FESTA_TOKEN_EXPIRATION_MS=86400000
TELEGRAM_HASH_EXPIRATION_MS=300000 TELEGRAM_HASH_EXPIRATION_MS=300000
BROWSER=none

View file

@ -3,14 +3,14 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"db:push": "dotenv -e .env.local prisma db push", "db-push": "dotenv -e .env.development -e .env.local prisma db push",
"db:generate:development": "dotenv -e .env.development -e .env.local prisma generate", "db-generate": "dotenv -e .env.development -e .env.local prisma generate",
"db:generate:production": "dotenv -e .env.production -e .env.local prisma generate --data-proxy", "db-studio": "dotenv -e .env.development -e .env.local prisma studio",
"db:studio": "dotenv -e .env.development dotenv -e .env.local cross-env BROWSER=none prisma studio", "dev": "dotenv -e .env.development -e .env.local next dev",
"app:dev": "next dev", "lint": "dotenv -e .env.development -e .env.local next lint",
"app:build": "next build", "build": "dotenv -e .env.development -e .env.local next build",
"app:start": "next start", "start": "dotenv -e .env.development -e .env.local next start",
"app:lint": "next lint" "vercel-build": "dotenv -e .env.production -e .env.local prisma generate --data-proxy && dotenv -e .env.production -e .env.local prisma db push --accept-data-loss --skip-generate && next build"
}, },
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.1.1", "@fortawesome/fontawesome-svg-core": "^6.1.1",