bricks-wc
v0.1.2
Published
CLI to lint, serve and build web components built with html, css(sass) and javascript.
Downloads
3
Maintainers
Readme
Bricks Web Components - CLI
This CLI has been built to develop isolated web components using Lit and SASS
For a better visual experience use Nerd Fonts as your terminal font
Installation
$ npm i -g bricks-wc
Commands
$ bkwc --lint
Uses ESLint to find problems in the code based on ESlint recommended configurations and custom configurations found in ESlint Configuration File
$ bkwc --serve
Starts a live reloading local server to watch web component development in the browser. Implements Modern Web Dev Server
$ bkwc --build
Uses esbuild to generate a bundle of the web component with the following outputs:
├── build
│ ├── assets
│ │ ├── **/*.jpg
│ ├── css
│ │ ├── *.css (minify)
│ ├── js
│ │ ├── *.js
│ ├── index.html