项目作者: kamui

项目描述 :
vite-plugin-ssr starter template including react, typescript, jest, playwright, and storybook
高级语言: TypeScript
项目地址: git://github.com/kamui/vite-plugin-ssr-starter.git
创建时间: 2021-09-09T06:38:15Z
项目社区:https://github.com/kamui/vite-plugin-ssr-starter

开源协议:

下载


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:

  1. npm install

Run development server:

  1. npm run dev

Run production server:

  1. npm run prod

Run Jest unit tests

  1. npm run test:unit

Run Jest unit tests in watch mode

  1. npm run test:unit:watch

Open Playwright test runner:

  1. npm run test:e2e

Build:

  1. npm run build

Launch Storybook:

  1. npm run storybook