fed9c97ddb
- app/[[...slug]]/page.tsx replaces app/page.tsx; activeSlug from URL params - SidebarNav and MobileNav removed from main layout (sections accordion is the nav) - next.config.ts: output:export controlled by STATIC_EXPORT env var instead of NODE_ENV - package.json: yarn build is standard Next.js build; yarn export is STATIC_EXPORT=true - Mock API route: force-static + generateStaticParams for output:export compatibility
59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"name": "portfolio",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"export": "STATIC_EXPORT=true next build",
|
|
"start": "next start",
|
|
"lint": "biome lint --write .",
|
|
"format": "biome format --write .",
|
|
"check": "biome check --write .",
|
|
"lint:ci": "biome lint .",
|
|
"format:ci": "biome format .",
|
|
"check:ci": "biome check .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"clsx": "^2.1.1",
|
|
"next": "16.2.4",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"tailwind-merge": "^3.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.4.13",
|
|
"@chromatic-com/storybook": "^5.1.2",
|
|
"@storybook/addon-a11y": "^10.3.5",
|
|
"@storybook/addon-docs": "^10.3.5",
|
|
"@storybook/addon-vitest": "^10.3.5",
|
|
"@storybook/nextjs-vite": "^10.3.5",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"@vitest/browser-playwright": "4.1.4",
|
|
"@vitest/coverage-v8": "4.1.4",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.4",
|
|
"eslint-plugin-storybook": "^10.3.5",
|
|
"jsdom": "^29.0.2",
|
|
"lefthook": "^2.1.6",
|
|
"playwright": "^1.59.1",
|
|
"storybook": "^10.3.5",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5",
|
|
"vite": "^8.0.8",
|
|
"vitest": "^4.1.4"
|
|
}
|
|
}
|