@dmitriyzverev/typescript-config
v1.1.1
Published
_The [TypeScript](https://www.typescriptlang.org/) configuration that uses in my packages_
Downloads
4
Readme
@dmitriyzverev/typescript-config
The TypeScript configuration that uses in my packages
Usage
Install dependencies:
npm i typescript @dmitriyzverev/typescript-config
Configure
tsconfig.json
file in the root of Your project:{ "extends": "@dmitriyzverev/typescript-config/tsconfig.json" }
Run TypeScript compiler:
npx tsc
Also, You can extend specific server configuration:
{
"extends": "@dmitriyzverev/typescript-config/tsconfig.server.json"
}
{
"extends": "@dmitriyzverev/typescript-config/tsconfig.lib.server.json"
}
or client configuration:
{
"extends": "@dmitriyzverev/typescript-config/tsconfig.client.json"
}
{
"extends": "@dmitriyzverev/typescript-config/tsconfig.lib.client.json"
}