@pinnsg/configs-typescript
v0.3.0
Published
🧩 Typescript config
Downloads
3
Readme
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/*"]
}