1.0.9 • Published 1 year ago
jabi-next-visualizer v1.0.9
Jabi Next Visualizer
Visualizer for Next.js page router showing routes and components in tree hierarchies.
How to Use On a Project:
- Install package
npm install jabi-next-visualizer- Run parse to parse project's source code
npx jabi-next-visualizer extract- Run server for visualizer app preview
npx jabi-next-visualizer visualizeDeployment:
After developing package:
1. Build the TypeScript file
npm run tscIt will create new folder named cli-build.
- Build visualizer app
cd app && npm run buildDevelopment:
app folder contain visualizer app using Next.js page router. cli folder contain cli app, server app, and config constants.
To Do:
- Add checking to make sure that parse command already run before running the server.