debian/build_modules/@sindresorhus/tsconfig/readme.md
raw| 1 | # tsconfig |
| 2 | |
| 3 | > Shared [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) for my projects |
| 4 | |
| 5 | |
| 6 | ## Install |
| 7 | |
| 8 | ``` |
| 9 | $ npm install --save-dev @sindresorhus/tsconfig |
| 10 | ``` |
| 11 | |
| 12 | |
| 13 | ## Usage |
| 14 | |
| 15 | `tsconfig.json` |
| 16 | |
| 17 | ```json |
| 18 | { |
| 19 | "extends": "@sindresorhus/tsconfig", |
| 20 | "compilerOptions": { |
| 21 | "outDir": "dist", |
| 22 | "target": "es2018", |
| 23 | "lib": [ |
| 24 | "es2018" |
| 25 | ] |
| 26 | } |
| 27 | } |
| 28 | ``` |
| 29 | |
| 30 | |
| 31 | ## License |
| 32 | |
| 33 | MIT © [Sindre Sorhus](https://sindresorhus.com) |