mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 15:51:31 +00:00
@open-wc/testing@0.2.0
- @open-wc/eslint-config@0.2.0 - generator-open-wc@0.1.2 - @open-wc/storybook@0.1.2 - @open-wc/testing-karma@0.1.0 - @open-wc/testing-wallaby@0.1.0 - @open-wc/testing@0.2.0
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
Languages
JavaScript
93.6%
HTML
4.1%
MDX
1.5%
TypeScript
0.8%