0.3.0 • Published 4 years ago

@pinnsg/configs-typescript v0.3.0

Weekly downloads
-
License
-
Repository
github
Last release
4 years ago

Personal TypeScript config

Based on the work of unlikelystudio

Installation

npm install --save-dev @pinnsg/configs-typescript


# or

yarn add -D @pinnsg/configs-typescript

Backend / Library

In your tsconfig.json

{
  "extends": "@pinnsg/configs-typescript/library.json",

  "include": ["src/**/*.ts", "src/types/**/*.d.ts"],
  "exclude": ["node_modules", "**/node_modules/*"]
}

Dom

In your tsconfig.json

{
  "extends": "@pinnsg/configs-typescript/dom.json",

  "include": ["src/**/*.ts", "src/types/**/*.d.ts"],
  "exclude": ["node_modules", "**/node_modules/*"]
}