Socket
Book a DemoInstallSign in
Socket

@nylas/web-elements

Package Overview
Dependencies
Maintainers
10
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nylas/web-elements

Stencil Component Starter

prealpha
Source
npmnpm
Version
1.0.0-prealpha1
Version published
Weekly downloads
5.8K
-50.07%
Maintainers
10
Weekly downloads
 
Created
Source

Nylas Web Elements

A collection of web components for Nylas.

This is a pre-alpha version of Nylas web elements. It is not yet ready for production use.

Requirements

  • Node.js v20 or higher
  • PNPM v8 or higher

Getting Started

  • Run pnpm install to install dependencies.

  • Run pnpm nx run @nylas/web-elements:start to start the web elements server.

  • Visit http://localhost:3333/ to see the web elements server (this has hot reloading enabled!).

Naming Components

Prefix all components with nylas-. For example, nylas-scheduler.

Good to know

Style guide for Stencil components

Getting errors with Jest regarding invalid imports of 3rd party libraries?

If you are getting errors like this:

SyntaxError: Unexpected token 'export'

You may need to add the 3rd party library to the esModules array in the stencil.config.ts file. For example:

const esmModules = ['d3-time'];

FAQs

Package last updated on 09 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts