https://github.com/pchalupa/custom-elements-kickoff
Custom elements kickoff template.
https://github.com/pchalupa/custom-elements-kickoff
eslint javascript jest jsdoc postcss stylelint
Last synced: 5 months ago
JSON representation
Custom elements kickoff template.
- Host: GitHub
- URL: https://github.com/pchalupa/custom-elements-kickoff
- Owner: pchalupa
- Created: 2020-10-12T09:14:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T03:17:42.000Z (over 3 years ago)
- Last Synced: 2025-02-14T01:44:59.463Z (over 1 year ago)
- Topics: eslint, javascript, jest, jsdoc, postcss, stylelint
- Language: JavaScript
- Homepage:
- Size: 2.26 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Custom Elements Kickoff

Custom elements gives you ability to create own HTML element or extend existing one. This is starter template for this kind of project. You can read more about this feature [here](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements).
## Getting Started
Use this as [GitHub template](https://github.com/pchalupa/custom-elements-kickoff/generate) and then clone your generated repository. To install all NPM package run `npm i`.
## Development
To start development server, run `npm start`. This starts Webpack dev server on port 9000.
## Testing
Write your unit tests and run them by `npm test`.
## Production
To make production build, run `npm run build`. This compiles and minifies your code into dist folder.
## Workflows
There is allready prepared simple GitHub workflow. It tests youre code every time you push into repository.