@dfinity/gix-components
v3.1.0-next-2023-12-10 ui ux designsystem uikit sveltekit svelte
dev
npm run i18n && vite dev
e2e
npm run download:samples && playwright test
i18n
node scripts/i18n.types.mjs && prettier --write ./src/lib/types/i18n.d.ts
lint
prettier --check './**/*.{ts,js,mjs,json,scss,css,svelte,html,md}' && eslint .
test
vitest --config ./vitest.config.ts
build
npm run i18n && vite build && npm run copy:workers
check
svelte-kit sync && svelte-check --tsconfig ./tsconfig.json
e2e:ci
npm run download:samples && playwright test --reporter=html
format
prettier --write './**/*.{ts,js,mjs,json,scss,css,svelte,html,md}'
package
svelte-kit sync && svelte-package
preview
vite preview
staging
npm run i18n && vite build --mode staging && npm run copy:workers
e2e:report
npx playwright show-report
check:watch
svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch
copy:workers
node ./scripts/copy-workers.mjs
e2e:snapshots
npm run download:samples && npx playwright test --update-snapshots --reporter=list
download:samples
./scripts/download-samples.sh