Skip to content

Tooling Overview

If you come from React, you already have a mental map of the toolchain: Create React App or Vite to scaffold, tsc to type-check, Jest + React Testing Library to test, and React DevTools to inspect components at runtime. SvelteKit has a matching tool for every one of these — and in most cases the Svelte version is simpler to configure.

This lesson maps each React tool to its Svelte counterpart so you can hit the ground running.

The most visible difference day-to-day is the package.json scripts. Here is a typical React Vite project side-by-side with a SvelteKit project:

React
// package.json (React + Vite)
{
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "jest"
}
}
Svelte
// package.json (SvelteKit)
{
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"test": "vitest run"
}
}

Notice that tsc && vite build becomes just vite build — SvelteKit’s build step already runs svelte-check as a separate check script, keeping type-checking and bundling decoupled.

The tools are different names but the same jobs. You do not need to learn a new mental model for the toolchain — just substitute each tool with its Svelte counterpart. The biggest shift is that svelte-check replaces tsc for template-aware type checking, and Vitest replaces Jest (with nearly identical APIs).

Which tool replaces tsc for type-checking .svelte files?
What is the SvelteKit equivalent of Jest + React Testing Library?
For end-to-end testing, which tool do React and SvelteKit projects both use?