We've released the Enterprise CLI for seamless deployments of Next.js projects on the AWS with complete IaC (Terraform) setup. Learn more
Blazity Logo
Development

Predefined scripts

Overview of the scripts available in the package.json file

package.json
ScriptDescription
prettier:fixAutomatically fixes formatting issues
analyzeAnalyzes the bundle sizes for Client, Server and Edge environments
storybookStarts the Storybook server
build-storybookBuilds the Storybook for deployment
testRuns unit and integration tests
e2e:headlessRuns end-to-end tests in headless mode
e2e:uiRuns end-to-end tests with UI
formatFormats the code with Prettier
postinstallApplies patches to external dependencies
coupling-graphGenerates a coupling and cohesion graph for the components

On this page