Skip to content

travistrle/growsmart

Repository files navigation

growsmart

An Electron application with React and TypeScript

Recommended IDE Setup

Project Setup

Install

$ nvm use v20
$ pnpm install

Development

$ pnpm dev

Build

# For windows
$ pnpm build:win

# For macOS
$ pnpm build:mac

# For Linux
$ pnpm build:linux

Add shadcn components

$ pnpm dlx shadcn@latest add button
$ pnpm add react-router-dom
$ pnpm dlx shadcn@latest add navigation-menu sheet
$ pnpm add lucide-react
$ pnpm dlx shadcn@latest add skeleton card
$ pnpm dlx shadcn@latest add sidebar

Unit test

$ pnpm test

Install testing libraties

$ pnpm add -D vitest jsdom @testing-library/react @testing-library/jest-dom

Integration test

pnpm add -D @testing-library/user-event

TypeChecking

Find files that do not meet typecheck and automatically fix

pnpm lint --fix

List all files with linting errors

pnpm validate

About

GrowSmart, a cross-platform desktop app, helps students learn new skills.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages