Skip to content

Repository files navigation

Open-wc Logo

Open Web Component Recommendations

Open Web Components provides a set of defaults, recommendations and tools to help facilitate your web component project. Our recommendations include: developing, linting, testing, building, tooling, demoing, publishing and automating.

CircleCIBrowserStack StatusRenovate enabled

Usage

# in a new or existing folder:
npm init @open-wc
# requires node 10 & npm 6 or higher

This will kickstart a menu guiding you through all available actions.

$ npm init @open-wc
npx: installed 14 in 4.074s
What would you like to do today?
> Scaffold a new project
Upgrade an existing project
Nah, I am fine thanks! => exit

Homepage

For more details please visit us at open-wc.org.

Packages

PackageVersionDescription
building-rollupbuilding-rollupDefault configuration for working with rollup.
building-webpackbuilding-webpackDefault configuration for working with webpack.
chai-dom-equalschai-dom-equalsChai Plugin to compare dom and shadow dom trees. Part of open-wc recommendations.
createcreateScaffold web components following open-wc recommendations.
demoing-storybookdemoing-storybookStorybook configuration following open-wc recommendations.
eslint-configeslint-configEslint configuration following open-wc recommendations.
es-dev-serveres-dev-serverDevelopment server for modern web apps.
polyfills-loaderpolyfills-loaderLoad web component polyfills using dynamic imports.
prettier-configprettier-configPrettier configuration following open-wc recommendations.
semantic-dom-diffsemantic-dom-diffTo compare dom and shadow dom trees. Part of open-wc recommendations.
testingtestingTesting following open-wc recommendations.
testing-helperstesting-helpersTesting Helpers following open-wc recommendations.
testing-karmatesting-karmaTesting with Karma following open-wc recommendations.
testing-karma-bstesting-karma-bsTesting with Karma using Browserstack following open-wc recommendations.
testing-wallabytesting-wallabyTesting with wallaby following open-wc recommendations.
webpack-import-meta-loaderwebpack-import-meta-loaderWebpack loader plugin to support import.meta.

Contact

Feel free to reach out to us on twitter or create a github issue for any feedback or questions you might have.

You can also find us on the Polymer slack in the #open-wc channel.

You can join the Polymer slack by visiting this link.

We Proudly Use

Browserstack Logo

netlify logo

Guide

# bootstrap/setup
yarn install
# linting
npm run lint
# local testing
npm run test# testing via browserstack
npm run test:es5:bs
# run commands only for a specific scope
lerna run <command> --scope @open-wc/<package-name> --stream

About

Open Web Components provides a set of defaults, recommendations and tools to help facilitate your Web Component.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages