Skip to content

Commit 2aefb6a

Browse files
committed
Update build script
1 parent 165c9bb commit 2aefb6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"dev": "next dev",
77
"build": "next build",
8-
"vercel-build": "prisma generate && prisma migrate deploy && npx tsx src/scripts/mos-data-import.ts && next build",
8+
"vercel-build": "next build",
99
"start": "next start",
1010
"export": "next build && next export",
1111
"format": "prettier --ignore-path .prettierignore --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
@@ -15,6 +15,7 @@
1515
"lint": "next lint",
1616
"lint:fix": "yarn typecheck & yarn format & yarn lint --fix",
1717
"prepare": "husky install",
18+
"postinstall": "prisma generate && prisma migrate deploy && npx tsx src/scripts/mos-data-import.ts",
1819
"postbuild": "next-sitemap",
1920
"test": "jest"
2021
},

0 commit comments

Comments
 (0)