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
|
# make sure it's in path
|
||||||
sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn
|
sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn
|
||||||
|
|
||||||
|
echo gen primsa client
|
||||||
|
prisma generate
|
||||||
|
|
||||||
echo try to build
|
echo try to build
|
||||||
|
|
||||||
# build it
|
# build it
|
|
@ -5,8 +5,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start -p 8080",
|
"start": "next start -p $PORT"
|
||||||
"prestart": "prisma generate"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@apollo/client": "^3.3.13",
|
"@apollo/client": "^3.3.13",
|
||||||
|
|
Loading…
Reference in New Issue