2.0.1 • Published 2 years ago

@beemo/config-typescript v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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',
	},
};
2.0.1

2 years ago

2.0.0

2 years ago

1.1.9

3 years ago

1.1.10

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.0.1-alpha.2

4 years ago

0.0.1-alpha.1

4 years ago

0.1.3

4 years ago

0.0.1-alpha.0

4 years ago