@drmikecrowe/configs-typescript
v0.1.4
Published
🧩 Typescript config
Downloads
2
Readme
Personal TypeScript config
Based on the work of unlikelystudio
Installation
npm install --save-dev @drmikecrowe/configs-typescript
# or
yarn add -D @drmikecrowe/configs-typescript
Backend / Library
In your tsconfig.json
{
"extends": "@drmikecrowe/configs-typescript/library.json",
"include": ["src/**/*.ts", "src/types/**/*.d.ts"],
"exclude": ["node_modules", "**/node_modules/*"]
}
Dom
In your tsconfig.json
{
"extends": "@drmikecrowe/configs-typescript/dom.json",
"include": ["src/**/*.ts", "src/types/**/*.d.ts"],
"exclude": ["node_modules", "**/node_modules/*"]
}