Skip to content

Commit 0760777

Browse files
committed
ci: add preinstall script for vercel
1 parent 41821f9 commit 0760777

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"cypress": "cypress open",
88
"cypress:headless": "cypress run",
99
"e2e": "start-server-and-test start http://localhost:3000 cypress",
10-
"e2e:headless": "start-server-and-test start http://localhost:3000 cypress:headless"
10+
"e2e:headless": "start-server-and-test start http://localhost:3000 cypress:headless",
11+
"preinstall": "cd .. && yarn install && yarn build"
1112
},
1213
"dependencies": {
1314
"next": "latest",

0 commit comments

Comments
 (0)