2.1.2 • Published 3 years ago
@mkvlrn/ts-config v2.1.2
@mkvlrn/ts-config
what
Very "defaulty" config with what I believe to be sane defaults.
why
Convenience? IDK...
install
# npm
npm add typescript @mkvlrn/ts-config -D
# yarn
yarn add typescript @mkvlrn/ts-config -D
usage
Extend in your tsconfig.json
file, remembering you need to add outDir
, rootDir
, include
, and exclude
options yourself.
{
"extends": "@mkvlrn/ts-config/tsconfig.json",
"outDir": "build",
"rootDir": "src",
"include": ["src/**/*"],
"exclude": ["node_modules", "**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"]
}