- License
- MIT
- Deps
- 0
- Install Size
- 14.7 kB/-
- Vulns
- 0
- Published
$
npm install @goodeggs/tsconfig$
pnpm add @goodeggs/tsconfig$
yarn add @goodeggs/tsconfig$
bun add @goodeggs/tsconfig$
deno add npm:@goodeggs/tsconfig$
vlt install @goodeggs/tsconfig@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).