A React TypeScript library built with Vite and Express for development, designed to be used as an npm package in other applications.
- 🚀 Express + Vite Development Server - Fast development with hot module replacement
- 📦 NPM Package Ready - Configured for publishing and use in other projects
- ⚡ TypeScript Support - Full TypeScript support with type declarations
- 🎨 React Components - Pre-built onboarding assistant components
- 🔧 Dual Build Modes - Development server and library build
npm install --legacy-peer-depsStart the development server:
npm run devThis will start the Vite development server at http://localhost:3001 (or next available port).
Build the library for distribution:
npm run build:libThis creates optimized ES and UMD bundles in the dist/ directory with TypeScript declarations.
After building, you can use this package in other applications:
npm run dev- Start development servernpm run dev:server- Start Express + Vite servernpm run build- Build for productionnpm run build:lib- Build as librarynpm run lint- Run ESLintnpm run test- Run tests
src/
├── components/
│ └── OnboardingAssistant.tsx # Main component
├── index.ts # Library exports
├── main.tsx # Development app entry
└── index.css # Styles