Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ms-fadaei/vite-lit-library-starter
Vite + Lit Library Starter Template
https://github.com/ms-fadaei/vite-lit-library-starter
eslint lit-element typescript vite vitejs vitest
Last synced: 2 months ago
JSON representation
Vite + Lit Library Starter Template
- Host: GitHub
- URL: https://github.com/ms-fadaei/vite-lit-library-starter
- Owner: ms-fadaei
- License: mit
- Created: 2022-03-03T10:55:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-17T21:30:46.000Z (4 months ago)
- Last Synced: 2024-10-13T23:08:12.583Z (3 months ago)
- Topics: eslint, lit-element, typescript, vite, vitejs, vitest
- Language: TypeScript
- Homepage:
- Size: 403 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vite + Lit Library Starter
> Create [Custom Elements](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) library with Lit + Vite + TypeScript
## Pre-packed
- [Vite 2](https://github.com/vitejs/vite)
- [Lit 2](https://github.com/lit/lit/)
- [Typescript](https://github.com/microsoft/TypeScript)
- [Vitest](https://github.com/vitest-dev/vitest)
- [ESLint](https://github.com/eslint/eslint)
- [Standard Version](https://github.com/conventional-changelog/standard-version)## commands
### Run Playground
```bash
yarn dev
```### Build Playground (preview)
```bash
yarn generate
```### Build Library
```bash
yarn build
```### Lint
```bash
yarn lint
```### Test
```bash
yarn test
```### Test Dashboard
```bash
yarn test:ui
```### Test + Watch
```bash
yarn test:watch
```### Test + Coverage
```bash
yarn coverage
```### Release & Publish
```bash
yarn release
```## License
[MIT License](./LICENSE)
Copyright (c) Mohammad Saleh Fadaei ([@ms-fadaei](https://github.com/ms-fadaei))