sagarpanchal / vite-react-ts

Start fast. Build better SPAs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🚀 Getting Started

📋 Prerequisites

  • node >= v16.14.1
  • npm >= v8.19.3

🔧 Installing

Clone this repo

git clone <repo_url> <project_directory>
cd ./<project_directory>

Install all dependencies

npm i

Developement

NPM Scripts

Script Purpose
start aliased to start:development
start:development run locally in development mode
start:staging run locally in staging mode
start:production run locally in production mode
build aliased to build:development
build:development create development build
build:staging create staging build
build:production create production build
preview preview available build
lint lint
lint:fix fix auto-fixable linter errors and warnings
test vitest --run (run unit tests)
test:ui vitest --ui (web ui, watch for changes)
test:watch vitest --watch (watch for changes)

Run locally

npm start # npm run start

Run tests

npm test # npm run test

About

Start fast. Build better SPAs.


Languages

Language:TypeScript 69.3%Language:SCSS 29.0%Language:JavaScript 1.4%Language:HTML 0.2%Language:Shell 0.0%