Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sloev/openpeeps-webcomponent
https://github.com/sloev/openpeeps-webcomponent
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sloev/openpeeps-webcomponent
- Owner: sloev
- License: mit
- Created: 2020-05-18T21:31:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T06:18:37.000Z (about 2 years ago)
- Last Synced: 2024-10-20T04:27:25.837Z (3 months ago)
- Language: JavaScript
- Size: 1.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# \
This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.
## Installation
```bash
npm i openpeeps-webcomponent
```## Usage
```htmlimport 'openpeeps-webcomponent/openpeeps-webcomponent.js';
```
## Linting with ESLint, Prettier, and Types
To scan the project for linting errors, run
```bash
npm run lint
```You can lint with ESLint and Prettier individually as well
```bash
npm run lint:eslint
```
```bash
npm run lint:prettier
```To automatically fix many linting errors, run
```bash
npm run format
```You can format using ESLint and Prettier individually as well
```bash
npm run format:eslint
```
```bash
npm run format:prettier
```## Tooling configs
For most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
## Local Demo with `es-dev-server`
```bash
npm start
```
To run a local development server that serves the basic demo located in `demo/index.html`https://github.com/CeamKrier/react-peeps/blob/master/src/peeps/face/Angry.tsx