mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 06:34: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
|
FESTA_TOKEN_EXPIRATION_MS=86400000
|
||||||
TELEGRAM_HASH_EXPIRATION_MS=300000
|
TELEGRAM_HASH_EXPIRATION_MS=300000
|
||||||
|
BROWSER=none
|
||||||
|
|
16
package.json
16
package.json
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue