0.2.4 • Published 12 months ago
@code-expert/configs-typescript v0.2.4
Personal TypeScript config
Based on the work of unlikelystudio
Installation
npm install --save-dev @code-expert/configs-typescript
# or
yarn add -D @code-expert/configs-typescript
Backend / Library
In your tsconfig.json
{
"extends": "@code-expert/configs-typescript/library.json",
"include": ["src/**/*.ts", "src/types/**/*.d.ts"],
"exclude": ["node_modules", "**/node_modules/*"]
}
Meteor
In your tsconfig.json
{
"extends": "@code-expert/configs-typescript/meteor.json",
"include": ["src/**/*.ts", "src/types/**/*.d.ts"],
"exclude": ["node_modules", "**/node_modules/*"]
}