Socket
Socket
Sign inDemoInstall

@appsemble/tsconfig

Package Overview
Dependencies
0
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @appsemble/tsconfig

The recommended TypeScript configuration for building Appsemble blocks


Version published
Maintainers
4
Created

Readme

Source

Appsemble TypeScript presets

Reusable TypeScript presets recommended by Appsemble

npm GitLab CI Prettier

Table of Contents

Installation

npm install @appsemble/tsconfig

Usage

DOM

The dom preset configures TypeScript for usage in the browser. This is the main export from this package.

To use it, add the following to your tsconfig.json file.

{
  "extends": "@appsemble/tsconfig"
}

Preact

The preact preset configures TypeScript for usage with Preact.

To use it, add the following to your tsconfig.json file.

{
  "extends": "@appsemble/tsconfig/preact"
}

Mini JSX

The mini-jsx preset configures TypeScript for usage with mini-jsx.

To use it, add the following to your tsconfig.json file.

{
  "extends": "@appsemble/tsconfig/mini-jsx"
}

License

LGPL-3.0-only © Appsemble

Keywords

FAQs

Last updated on 14 May 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc