8000 GitHub - 2BAD/tsconfig: Shared TypeScript config file for our projects
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

2BAD/tsconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  }
}

About

Shared TypeScript config file for our projects

Topics

Resources

License

MIT license < 5030 /div>

Stars

Watchers

Forks

Contributors 2

  •  
  •  
0