0.0.14 • Published 7 years ago
machiina-web-components v0.0.14
Machiina Web Components
This is a project for building a standalone Web Component using Stencil. Need help? Check out our docs here.
Getting Started
To run:
npm install
npm startTo watch for file changes during develop, run:
npm run devTo build the component for production, run:
npm run buildTo run the unit tests for the components, run:
npm testComponents
Naming Components
Use the prefix mwc an specific name mwc-helloworld
Data to Components
- In component use
camelCaseto name the diferent params.validateOnBlur - To send data for that params use
kebabCase.validate-on-blur
Updates for npm
Bugs and minor adjustments
- Update de patch version
npm version patch - Publish the changes
pm publish
Changes in components (props, events, etc) or new Component
- Update de patch version
npm version minor - Publish the changes
pm publish
Changes that could break background compatibility
- Update de patch version
npm version major - Publish the changes
pm publish