0.0.2 • Published 4 months ago

@yourmajestyco/tsconfig v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Shareable TypeScript config

Quick start

$ yarn add -D @yourmajestyco/tsconfig

or

$ npm install @yourmajestyco/tsconfig -D

Add to your tsconfig.json:

{
    extends: '@yourmajestyco/tsconfig',
    compilerOptions: {
        // override shared compilerOptions
        outDir: 'dist',
        target: 'es2018',
        lib: ['es2018'],
        typeRoots: ['./node_modules/@types']
    }
}

If you want to know which properties were inherited, you can do:

$ tsc --showConfig --project tsconfig.json