Files
open-wc/README.md
2018-10-06 18:46:01 +02:00

1.5 KiB

Open Web Component Recommendations

We want to provide a good set of default on how to vasilitate your web component.

CircleCI BrowserStack Status Renovate enabled

Usage

mkdir my-element
cd my-element
# Minimum setup
npx -p yo -p generator-open-wc -c 'yo open-wc:vanilla-bare'

Available Recommendations

# Demos using storybook
npx -p yo -p generator-open-wc -c 'yo open-wc:storybook'

# Linting using eslint
npx -p yo -p generator-open-wc -c 'yo open-wc:eslint'

We proudly use

Browserstack Logo

Working on it

npm run bootstrap
# does: lerna bootstrap --hoist

# linting
npm run lint

# local testing
npm run test

# testing via browserstack
npm run test:bs

# run commands only for a specific scope
lerna run <command> --scope @open-wc/<package-name> --stream