0.10.3 • Published 9 months ago

@maxpatiiuk/custom-elements-analyzer v0.10.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@maxpatiiuk/custom-elements-analyzer

This is a fork of the original custom-elements-manifest with TypeScript version updated to the latest.

Custom Elements Manifest is a file format that describes custom elements. This format will allow tooling and IDEs to give rich information about the custom elements in a given project. You can find the repository for the specification of the schema here.

✨ Try it out in the online playground! ✨

Read the Docs

Install

npm i -D @maxpatiiuk/custom-elements-analyzer

Usage

custom-elements-manifest analyze

or

cem analyze

Options

Command/optionTypeDescriptionExample
analyzeAnalyze your components
--configstringPath to custom config location--config "../custom-elements-manifest.config.js"
--globsstring[]Globs to analyze--globs "foo.js"
--excludestring[]Globs to exclude--exclude "foo.js"
--outdirstringDirectory to output the Manifest to--outdir dist
--dependenciesbooleanInclude third party custom elements manifests--dependencies
--packagejsonbooleanOutput CEM path to package.json, defaults to true--packagejson
--watchbooleanEnables watch mode, generates a new manifest on file change--watch
--devbooleanEnables extra logging for debugging--dev
--quietbooleanHides all logging--quiet
--litelementbooleanEnable special handling for LitElement syntax--litelement
--fastbooleanEnable special handling for FASTElement syntax--fast
--stencilbooleanEnable special handling for Stencil syntax--stencil
--catalystbooleanEnable special handling for Catalyst syntax--catalyst
--catalyst-major-2booleanEnable special handling for Catalyst syntax ^2.0.0--catalyst-major-2