Skip to content

tsconfig 1.8.0

Install from the command line:
Learn more about npm packages
$ npm install @codeoscopic/tsconfig@1.8.0
Install via package.json:
"@codeoscopic/tsconfig": "1.8.0"

About this version

@codeoscopic/tsconfig

This package includes our tsconfig custom config for TypeScript and React projects.

Installation and configuration

  1. Install the package:
npm install -D @codeoscopic/tsconfig
  1. Create a tsconfig.json file in your project root (Choose appropriate json configuration)
  • @codeoscopic/tsconfig/library.json (For building TS libraries)
  • @codeoscopic/tsconfig/react-library.json (For building React libraries)
  • @codeoscopic/tsconfig/vite.json (For Vite React libraries)

Example using vite configuration:

{
  "extends": "@codeoscopic/tsconfig/vite.json",
  "include": ["src"],
  "exclude": ["dist", "node_modules"],
  "compilerOptions": {
    "rootDir": "src",
    "outDir": "dist"
  }
}

Details


Assets

  • tsconfig-1.8.0.tgz

Download activity

  • Total downloads 54
  • Last 30 days 0
  • Last week 0
  • Today 0