@bryce-loskie/tc

0.1.5 • Public • Published

@bryce-loskie/tc

tsconfig.json base configs

NPM version

Install

pnpm i -D @bryce-loskie/tc

Usage

Library

Normal Library

{
  "extends": "@bryce-loskie/tc/lib",
  "compilerOptions": {
    "rootDir": "./src",
    "outDir": "./dist"
  },
  "include": ["src"]
}

React Components Library

{
  "extends": "@bryce-loskie/tc/lib-react",
  "compilerOptions": {
    "rootDir": "./src",
    "outDir": "./dist"
  },
  "include": ["src"]
}

Project

React Project

{
  "extends": "@bryce-loskie/tc/react",
  "include": ["src"]
}

Vue Project

{
  "extends": "@bryce-loskie/tc/vue",
  "include": ["src"]
}

Optimizations

{
  "compilerOptions": {
    // upgrade output syntax target
    "target": "es6",
    // generate declaration source map
    "declarationMap": true
    // ...
  }
}

License

MIT License © 2023 guygubaby

Package Sidebar

Install

npm i @bryce-loskie/tc

Weekly Downloads

10

Version

0.1.5

License

MIT

Unpacked Size

5.26 kB

Total Files

7

Last publish

Collaborators

  • guygubaby