I'd love your help! This doc covers how to become a contributor and submit code to the project.
This component is all about tiny and fast features, not being the kitchen sink of YouTube embeds. Anything that adds bloat or perf loss won't be accepted for merge without PR revisions. Let's use the platform, and make it speeeedy!
I tag issues that are good-ish candidates for those new to the code with good first issue
.
I use JSDoc with TypeScript @typescript-eslint
, as well as the @open-wc/eslint-config. All eslint config is set within package.json, there are lint commands within package.json scripts available for use, and annotations are encouraged for all contributions.
-
Fork the repo to your personal account so changes you make can be sent as a pull request.
-
Then install all dependencies:
$ yarn
- Run the development server:
$ yarn start
To run the development server in watch mode:
$ yarn start:watch
In both cases, the command starts a local webserver at http://localhost:8000/, navigate to the demo folder (if it does not auto-open the page), and you'll be able to play with the various demo's within demo/index.html
.
Tests are contained within the test
folder, and utilize @web/test-runner and @open-wc/testing.
To run the tests:
$ yarn test
To run the development tests in watch mode:
$ yarn test:watch