Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manufosela/qr-code
LitElement QRCode Generator
https://github.com/manufosela/qr-code
Last synced: about 1 month ago
JSON representation
LitElement QRCode Generator
- Host: GitHub
- URL: https://github.com/manufosela/qr-code
- Owner: manufosela
- License: mit
- Created: 2019-08-17T16:47:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T17:21:29.000Z (almost 2 years ago)
- Last Synced: 2023-03-24T12:04:06.244Z (almost 2 years ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
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 qr-code
```## Usage
```html
import 'qr-code/qr-code.js';
```
## Linting and formatting
To scan the project for linting and formatting errors, run
```bash
npm run lint
```To automatically fix linting and formatting errors, run
```bash
npm run format
```## Testing with Web Test Runner
To execute a single test run:
```bash
npm run test
```To run the tests in interactive watch mode run:
```bash
npm run test:watch
```## Demoing with Storybook
To run a local instance of Storybook for your component, run
```bash
npm run storybook
```To build a production version of Storybook, run
```bash
npm run storybook:build
```## Tooling configs
For most of the tools, the configuration is in the `package.json` to minimize 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 `web-dev-server`
```bash
npm start
```To run a local development server that serves the basic demo located in `demo/index.html`