Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@beemo/config-typescript

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beemo/config-typescript

TypeScript config for Beemo projects.

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
2
Created
Source

Beemo - TypeScript config

Build Status npm version npm deps

An official Beemo TypeScript config based on tsconfig-beemo.

yarn install --dev typescript @beemo/core @beemo/driver-typescript @beemo/config-typescript

Config will automatically assume project references are being used if a project is using workspaces.

Setup

Create a configs/typescript.ts file in your Beemo configuration module that re-exports this config with your own include, exclude, etc.

import config from '@beemo/config-typescript';

export default {
	...config,
	include: ['src/**/*'],
};

Settings

The following Beemo settings can be defined and will be enable compiler options.

  • decorators (boolean) - Enable TypeScript decorators. If true, will toggle Babel into loose mode. Defaults to false.
  • react (boolean | classic | automatic) - Enable React (or React Native) syntax with the defined JSX runtime. Defaults to false.
export default {
	module: '<config-module>',
	drivers: ['typescript'],
	settings: {
		react: 'automatic',
	},
};

Keywords

beemo-config

FAQs

Package last updated on 24 Jul 2022

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