https://github.com/zapix/primer-svelte
Svelte implementation of Primer Design System
https://github.com/zapix/primer-svelte
Last synced: 7 months ago
JSON representation
Svelte implementation of Primer Design System
- Host: GitHub
- URL: https://github.com/zapix/primer-svelte
- Owner: Zapix
- Created: 2022-10-31T11:43:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-08T15:51:28.000Z (over 2 years ago)
- Last Synced: 2025-01-10T00:15:22.744Z (9 months ago)
- Language: TypeScript
- Size: 521 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# primer-svelte
Svelte implementation of Primer Design System
## Project status
In development
## Development
primer-svelte builds on node `v18.12.0` with TypeScript `4.8.4` and Svelte `3.52.0`
### Run local
- Clone project `git clone git@github.com:Zapix/primer-svelte.git`
- Setup dependencies:`npm install'
- Start storybook `npm run storybook` with env variable `NODE_OPTIONS=--openssl-legacy-provider`### Available npm commands:
- `npm run dev` - starts dev server
- `npm build` - builds project
- `npm run check` - checks project with svelte-check
- `npm run storybook` - starts storybook
- `npm run build-storybook` - build storybook for svelte
- `npm run test` - run tests for project
- `npm run test:watch` - run tests in watch mode
- `npm run prettier:write` - format code with prettier
- `npm run prettier:check` - check code with prettier for errors
- `npm run lint` - run linter to check errors