0.1.12 • Published 2 years ago

@stone-lemons/configs-typescript v0.1.12

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

Personal TypeScript config

Based on the work of unlikelystudio

Installation

npm install --save-dev @stone-lemons/configs-typescript


# or

yarn add -D @stone-lemons/configs-typescript

Backend / Library

In your tsconfig.json

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

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

Dom

In your tsconfig.json

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

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

2 years ago