open-wc

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

Github星跟踪图

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.

Contributor Covenant
CircleCI
BrowserStack Status
Renovate 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, Package, Version, Description, -------------------------------------------------------------------, ------------------------------------------------------------------------------------------------------------------------------------------------------------------------, ---------------------------------------------------------------------------------, building-rollup, building-rollup, Default configuration for working with rollup., building-webpack, building-webpack, Default configuration for working with webpack., chai-dom-equals, chai-dom-equals, Chai Plugin to compare dom and shadow dom trees. Part of open-wc recommendations., create, create, Scaffold web components following open-wc recommendations., demoing-storybook, demoing-storybook, Storybook configuration following open-wc recommendations., eslint-config, eslint-config, Eslint configuration following open-wc recommendations., es-dev-server, es-dev-server, Development server for modern web apps., polyfills-loader, polyfills-loader, Load web component polyfills using dynamic imports., prettier-config, prettier-config, Prettier configuration following open-wc recommendations., scoped-elements, scoped-elements, Auto define custom elements to scope them and avoid the name collision., semantic-dom-diff, semantic-dom-diff, To compare dom and shadow dom trees. Part of open-wc recommendations., testing, testing, Testing following open-wc recommendations., testing-helpers, testing-helpers, Testing Helpers following open-wc recommendations., testing-karma, testing-karma, Testing with Karma following open-wc recommendations., testing-karma-bs, testing-karma-bs, Testing with Karma using Browserstack following open-wc recommendations., testing-wallaby, testing-wallaby, Testing with wallaby following open-wc recommendations., webpack-import-meta-loader, webpack-import-meta-loader, Webpack 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 https://www.polymer-project.org/slack-invite.

We Proudly Use

Guide

# bootstrap/setup
yarn install

# 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

主要指标

概览
名称与所有者open-wc/open-wc
主编程语言JavaScript
编程语言JavaScript (语言数: 5)
平台
许可证MIT License
所有者活动
创建于2018-09-16 16:35:09
推送于2025-06-28 12:54:45
最后一次提交2025-06-28 14:54:45
发布数2756
最新版本名称eslint-plugin-lit-a11y@5.1.0 (发布于 2025-06-28 12:44:01)
第一版名称generator-open-wc@0.1.0 (发布于 2018-09-17 15:59:01)
用户参与
星数2.3k
关注者数46
派生数426
提交数2.6k
已启用问题?
问题数984
打开的问题数147
拉请求数1408
打开的拉请求数36
关闭的拉请求数380
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?