diff --git a/package.json b/package.json index f18bdbf..bc772ac 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "dev": "next dev", "build": "next build", "build:prod": "npm run build:textualize-cache:display && npm run scripts:transpile && npm run scripts:generate-data-code-for-galleries && next build && npm run build:textualize-cache:display", - "build:textualize-cache:display": "cat .next/cache/textualize-cache.*.json || true", + "build:textualize-cache:display": "mkdir -p .next/cache/ && cat .next/cache/textualize-cache.*.json || true", "build:textualize-cache:clear": "rm -f .next/cache/textualize-cache.*.json || true", "start": "next start", "prepare": "husky install",