electron-shadcn
Getting Started

Packages scripts

GitHubEdit on GitHub

Here are the most commonly used scripts:

ScriptDescription
npm run startStart the app in development mode
npm run packagePackage the app into an executable bundle
npm run makeGenerate platform-specific distributables (.exe, .dmg, etc.)
npm run publishPublish the app to configured publishers
npm run checkRun Ultracite to check code quality
npm run fixRun Ultracite to fix code issues
npm run bump-uiUpdate shadcn-ui components
npm run testRun unit tests with Vitest
npm run test:watchRun Vitest in watch mode
npm run test:unitRun unit tests with Vitest (interactive)
npm run test:e2eRun end-to-end tests with Playwright
npm run test:allRun both unit and E2E tests

The Playwright tests require the app to be built first. Run npm run package or npm run make before running npm run test:e2e. Head over to the Testing page for more details.