update build scripts

This commit is contained in:
DefectingCat
2023-12-26 11:29:34 +08:00
parent 09b173fd9a
commit 114532067c

View File

@ -5,8 +5,9 @@
"scripts": {
"dev": "next dev",
"build": "next build && node scripts/build-search.mjs",
"build:export": "cross-env NEXT_BUILD=export next build && cross-env NEXT_BUILD=export next export",
"build:search": "node scripts/build-search.mjs",
"build-export": "cross-env NEXT_BUILD=export next build && cross-env NEXT_BUILD=export next export",
"build-search": "node scripts/build-search.mjs",
"build-local": "next build",
"start": "next start",
"lint": "next lint",
"test": "jest --watch",