@webtides/element-js-manifests

0.1.1 • Public • Published

element-js-manifests

Generates a web-types.json file to provide (JetBrains) IDEs with metadata about Web Components built with @webtides/element-js. For more info on the schema see: https://github.com/JetBrains/web-types

How to use

Installation

install element-js-manifests

npm install --save @webtides/element-js-manifests

Use

Add the following task to the scripts' section of your package.json.

{
    "scripts": {
        "manifest": "element-js-manifests --src 'src/**/*.js' --watch"
    }
}

Run the command

npm run manifest

Add the generated web-types.json field to your package.json

{
    "web-types": "./web-types.json"
}

Contributing & Development

For contributions and development see contributing docs

License

element-js-manifests is open-sourced software licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i @webtides/element-js-manifests

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

24.1 kB

Total Files

13

Last publish

Collaborators

  • lukas-schardt
  • eddyloewen
  • quarkus