@importantimport/tsconfig

0.1.1 • Public • Published

@importantimport/tsconfig

Usage

Install

pnpm add -D @importantimport/tsconfig # pnpm
yarn add -D @importantimport/tsconfig # yarn
npm i -D @importantimport/tsconfig # npm

Example

general
// tsconfig.json
{
  "extends": "@importantimport/tsconfig"
}
app
// tsconfig.app.json
{
  "extends": "@importantimport/tsconfig/app.json",
  "include": ["src", "test"]
}
node
// tsconfig.node.json
{
  "extends": "@importantimport/tsconfig/node.json",
  "include": ["*.config.ts", "*.config.js"]
}

Parts

This package has some framework-specific tsconfig parts that you can use to override the default tsconfig.

// tsconfig.app.json
{
  "extends": [
    "@importantimport/tsconfig/app.json",
    "@importantimport/tsconfig/parts/jsx-react.json",
    "@importantimport/tsconfig/parts/paths-at.json"
  ],
  "include": ["src", "test"]
}

Go to the parts directory to see all available parts.

License

MIT

/@importantimport/tsconfig/

    Package Sidebar

    Install

    npm i @importantimport/tsconfig

    Weekly Downloads

    14

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    5.86 kB

    Total Files

    21

    Last publish

    Collaborators

    • kwaa