mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
fa8baa9e62
### What? add a benchmark with many pages
20 lines
829 B
JSON
20 lines
829 B
JSON
{
|
|
"name": "nested-deps-app-router-many-pages",
|
|
"scripts": {
|
|
"prepare-bench": "rimraf components app && fuzzponent -d 2 -s 206 -o components && node ./create-pages.mjs",
|
|
"dev-application": "cross-env NEXT_PRIVATE_LOCAL_WEBPACK=1 next dev",
|
|
"build-application": "cross-env NEXT_PRIVATE_LOCAL_WEBPACK=1 next build",
|
|
"start": "cross-env NEXT_PRIVATE_LOCAL_WEBPACK=1 next start",
|
|
"dev-nocache": "rimraf .next && pnpm dev-application",
|
|
"dev-cpuprofile-nocache": "rimraf .next && cross-env NEXT_PRIVATE_LOCAL_WEBPACK=1 node --cpu-prof ../../node_modules/next/dist/bin/next",
|
|
"build-nocache": "rimraf .next && pnpm build-application"
|
|
},
|
|
"devDependencies": {
|
|
"fuzzponent": "workspace:*",
|
|
"cross-env": "^7.0.3",
|
|
"pretty-ms": "^7.0.1",
|
|
"rimraf": "^3.0.2",
|
|
"next": "workspace:*"
|
|
}
|
|
}
|