@bendera/vscode-webview-elements

Webcomponents for creating Visual Studio Code extensions


Keywords
web-components, lit-element, typescript, lit, lit-html, visual-studio-code, vscode, webcomponents
License
MIT
Install
npm install @bendera/vscode-webview-elements@0.17.2

Documentation

VSCode Webview Elements

For the end-user documentation, click here. This project made with LitElement and based on a modified version of the LitElement TypeScript starter.

Setup

Install dependencies:

npm ci

The main NPM tasks

Production build

npm run build

Start development mode

Start TypeScript compiler in development mode and start the @web-dev-server

npm run start

Generate the documentation site

npm run docs

Start the documentation site development server

npm run docs:start

Testing

npm run build:watch

# in another terminal instance:
npm run test:watch

Run tests

npm run test