@goodeggs/tsconfig
v2.0.2
Published
Shared Good Eggs TypeScript configurations.
Downloads
1,268
Readme
@goodeggs/tsconfig
Shared TypeScript configuration files for use in Good Eggs modules and applications.
Installation
Install via npm:
$ npm install --save-dev @goodeggs/tsconfig
Install via yarn:
$ yarn add --dev @goodeggs/tsconfig
Usage
NOTE: These configurations are intended for use with Babel. If you are transpiling via
tsc
, these configurations will not work for you!
Use the extends
property in your tsconfig.json
to inherit from these shared configurations:
{
"extends": "@goodeggs/tsconfig/base"
}
Releasing
This repo is not currently configured to publish automatically from CI.
To release a new version of this module, use yarn locally to publish the version and create the git tag, then push:
yarn publish --new-version=<major|minor|patch>
git push --follow-tags
Listing of Configurations
@goodeggs/tsconfig/base
: A base configuration. Makes no assumptions about the environment you're targeting.@goodeggs/tsconfig/browser
: A base browser configuration. Assumes you are targeting an ESNext feature set (and using Babel to achieve compatibility with older browsers if desired).@goodeggs/tsconfig/react
: A React/JSX configuration. Assumes you are targeting an ESNext feature set (and using Babel to achieve compatibility with older browsers if desired).