Managing Development & Production Server Scripts
Run package scripts defined inside package.json to develop, test, compile, and launch web applications:
Learn just the 5 essential commands you need to build web apps in under 15 minutes with video & interactive lab.
Run package scripts defined inside package.json to develop, test, compile, and launch web applications:
Launches local hot-reloading development server on http://localhost:3000.
Compiles TypeScript, optimizes bundles, and prerenders production HTML assets.
Launches optimized Node production server hosting compiled web application.
Test your understanding to unlock progress
Which command launches the local development server in Next.js / Vite web projects?
Lesson: Executing NPM Scripts & Build Pipelines (`npm run dev`, `npm run build`)
Author: NextSem
Run package scripts defined inside package.json to develop, test, compile, and launch web applications: