@2bad/tsconfig

3.0.0 • Public • Published

tsconfig

Shared TypeScript config for our projects

Install

$ npm install --save-dev @2bad/tsconfig

Usage

tsconfig.json

{
  "extends": "@2bad/tsconfig",
  "compilerOptions": {
    "outDir": "build",
    "baseUrl": "source"
  }
}

If you're willing to use path mapping, you should install tsc-alias and update the configuration accordingly.

{
  "extends": "@2bad/tsconfig",
  "compilerOptions": {
    "outDir": "build",
    "baseUrl": "source",
    "paths": {
      "~/*": ["./*"]
    }
  },
  "tsc-alias": {
    "resolveFullPaths": true
  }
}

Package Sidebar

Install

npm i @2bad/tsconfig

Weekly Downloads

542

Version

3.0.0

License

MIT

Unpacked Size

14.9 kB

Total Files

4

Last publish

Collaborators

  • grasword
  • mrhyde
  • armordarks