kamui / vite-plugin-ssr-starter

vite-plugin-ssr starter template including react, typescript, jest, playwright, and storybook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vite Plugin SSR + React + Typescript Starter

Opinionated, typed, vite-plugin-ssr project template.

A changelog is available to track updates.

Features

  • React
  • TypeScript 4.5
  • CSS Modules
  • PostCSS 8
  • Eslint
  • Prettier
  • Alias #app to <project_root>
  • Jest for Unit tests
  • Playwright for E2E tests
  • Storybook - UI component tool
  • GitHub Dependabot
  • Automated Unit and E2E tests
    • Github Actions
    • Gitlab CI

Usage

Install dependencies:

npm install

Run development server:

npm run dev

Run production server:

npm run prod

Run Jest unit tests

npm run test:unit

Run Jest unit tests in watch mode

npm run test:unit:watch

Open Playwright test runner:

npm run test:e2e

Build:

npm run build

Launch Storybook:

npm run storybook

About

vite-plugin-ssr starter template including react, typescript, jest, playwright, and storybook


Languages

Language:TypeScript 94.4%Language:JavaScript 3.2%Language:CSS 2.3%Language:Procfile 0.2%