-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Reasons for:
- Demos run without compilation; developers can consult the demos alongside their app code (
/lib/@netflix/x-element/demos/index.htmljust works) - Tests run without compilation; library adopters that use x-test can easily adopt x-element's test suite into their own continuous integration routine. and running the tests is easy ( (
/lib/@netflix/x-element/test/index.htmljust works) - Docs run without compilation; any Markdown previewer will work
- Native, vanilla packages that publish their demos & tests can be members of a larger toolkit without jumping through any additional hoops: https://import.dog/list.html
- It already works this way since Include /test and /demo in the published version of x-element #101 - discussion in Publishes tests and demos #103
Examples in the wild:
- Three.js + examples: https://github.com/mrdoob/three.js/blob/dev/package.json#L30-L31
- Polymer Elements - https://github.com/PolymerElements each component published light docs, demos, and tests: https://github.com/PolymerElements/paper-button
Metadata
Metadata
Assignees
Labels
No labels