move hook to prebuild
This commit is contained in:
parent
71a22f9a41
commit
a24cc9b5a5
|
@ -10,6 +10,9 @@ echo link
|
|||
# make sure it's in path
|
||||
sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn
|
||||
|
||||
echo gen primsa client
|
||||
prisma generate
|
||||
|
||||
echo try to build
|
||||
|
||||
# build it
|
|
@ -5,8 +5,7 @@
|
|||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start -p 8080",
|
||||
"prestart": "prisma generate"
|
||||
"start": "next start -p $PORT"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apollo/client": "^3.3.13",
|
||||
|
|
Loading…
Reference in New Issue