mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-21 22:24:22 +00:00
Change up build scripts in hopes vercel will be able to build this
This commit is contained in:
parent
f3ef281feb
commit
bb814964ad
2 changed files with 9 additions and 8 deletions
|
@ -1,2 +1,3 @@
|
|||
FESTA_TOKEN_EXPIRATION_MS=86400000
|
||||
TELEGRAM_HASH_EXPIRATION_MS=300000
|
||||
BROWSER=none
|
||||
|
|
16
package.json
16
package.json
|
@ -3,14 +3,14 @@
|
|||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"db:push": "dotenv -e .env.local prisma db push",
|
||||
"db:generate:development": "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 dotenv -e .env.local cross-env BROWSER=none prisma studio",
|
||||
"app:dev": "next dev",
|
||||
"app:build": "next build",
|
||||
"app:start": "next start",
|
||||
"app:lint": "next lint"
|
||||
"db-push": "dotenv -e .env.development -e .env.local prisma db push",
|
||||
"db-generate": "dotenv -e .env.development -e .env.local prisma generate",
|
||||
"db-studio": "dotenv -e .env.development -e .env.local prisma studio",
|
||||
"dev": "dotenv -e .env.development -e .env.local next dev",
|
||||
"lint": "dotenv -e .env.development -e .env.local next lint",
|
||||
"build": "dotenv -e .env.development -e .env.local next build",
|
||||
"start": "dotenv -e .env.development -e .env.local next start",
|
||||
"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": {
|
||||
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
||||
|
|
Loading…
Reference in a new issue