mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
@open-wc/storybook@0.1.6
- generator-open-wc@0.2.3 - @open-wc/storybook@0.1.6 - @open-wc/testing-karma-bs@0.0.2 - @open-wc/testing-karma@0.1.2 - @open-wc/testing-wallaby@0.1.2 - @open-wc/testing@0.2.4
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
# Default Recommodation
npx -p yo -p generator-open-wc -c 'yo open-wc:vanilla'
Default Recommodation Content
You can also pick and choose to apply them at any point later.
- Vanilla Webcomponent
npx -p yo -p generator-open-wc -c 'yo open-wc:vanilla-bare' - Testing Helpers
npx -p yo -p generator-open-wc -c 'yo open-wc:testing-bare' - Automated Testing with Karma
npx -p yo -p generator-open-wc -c 'yo open-wc:testing-karma' - Automated Testing via Karma and Browserstack
npx -p yo -p generator-open-wc -c 'yo open-wc:testing-karma-bs' - Linting with ESLint
npx -p yo -p generator-open-wc -c 'yo open-wc:lint-eslint' - Publish with Storybook
npx -p yo -p generator-open-wc -c 'yo open-wc:publish-storybook' - Continous Integration with CircleCi
npx -p yo -p generator-open-wc -c 'yo open-wc:publish-storybook'
Additional Recommodation
- Instant Testing in IDE with Wallaby
npx -p yo -p generator-open-wc -c 'yo open-wc:testing-wallaby'
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%