Skip to content
Public template

About

Starter-kit with React, mise, biome, Vite, Vitest, TypeScript, CSS modules and PWA

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

React Starter

Website: https://najwer23.github.io/react-starter

Prerequisites

This project uses mise to manage Node.js and Yarn versions (see mise.toml).

Install mise:

# macOS (Homebrew)
brew install mise

Enable mise in Zsh by adding this line to ~/.zshrc:

eval "$(mise activate zsh)"

Reload your shell configuration:

source ~/.zshrc

Getting Started

mise trust      # trust mise.toml (first time only)
mise install    # install Node.js and Yarn
mise setup      # install dependencies

Verify the setup:

mise current    # should list node and yarn
which yarn      # should point into ~/.local/share/mise/installs/...
mise doctor     # reports problems with the setup

Development

mise start

Production build

mise build

Preview production build

mise preview

Deploy to gh-pages

mise deploy

Other tasks

Task Description
mise test Run tests with Vitest
mise bench Run benchmarks
mise format Format and lint with Biome
mise sort Sort package.json keys
mise god Update dependencies, install, and start
mise tasks List all available tasks

Yarn scripts

Once mise is activated, the same scripts are available through Yarn:

yarn install
yarn start
yarn test
yarn build
yarn preview
yarn deploy

Updating

Update dependencies to the latest versions:

npx npm-check-updates -u && yarn install
ncu -u && yarn install

Update tool versions by editing mise.toml, then run mise install. To see the newest available Yarn version:

mise latest yarn

Update Yarn itself:

yarn set version latest

Let's connect!

About

Starter-kit with React, mise, biome, Vite, Vitest, TypeScript, CSS modules and PWA

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages