0.1.1 • Published 6 months ago
svelte-apg v0.1.1
svelte-apg
1. Local development
1.1 Storybook
!NOTE Storybook url: https://svelte-apg-storybook.vercel.app
pnpm install
# Storybook dev server
pnpm storybook:dev
# Storybook build
pnpm storybook:build
1.2 SvelteKit application
pnpm install
# Vite dev server
pnpm app:dev
# Vite build
pnpm app:build
2. Testing
2.1 Automated tests
# Runs unit tests with Vitest
pnpm test:unit
# Runs integration tests with playwright
pnpm test:integration
# Runs both unit & integration tests
pnpm test
3. Code climate
# Runs ESLint & Prettier
pnpm lint
# Checks TypeScript errors in Svelte files
pnpm check