mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 15:51:31 +00:00
1.5 KiB
1.5 KiB
Open Web Component Recommendations
We want to provide a good set of default on how to vasilitate your web component.
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
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