0.0.14 • Published 6 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 start
To watch for file changes during develop, run:
npm run dev
To build the component for production, run:
npm run build
To run the unit tests for the components, run:
npm test
Components
Naming Components
Use the prefix mwc
an specific name mwc-helloworld
Data to Components
- In component use
camelCase
to 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