@bytehi/ts-config
v2.0.0
Published
A base TSConfig working with vue、node
Downloads
7
Readme
@bytehi/tsconfig
TSConfigs for app projects to extend.
安装
npm add -D @bytehi/tsconfig
使用
添加适用的配置集到tsconfig.json
的extends属性利:
基础环境配置
{
"extends": "@bytehi/tsconfig/tsconfig.json"
}
vue环境配置
{
"extends": "@bytehi/tsconfig/tsconfig.vue.json"
}
浏览器环境配置
{
"extends": "@bytehi/tsconfig/tsconfig.dom.json"
}
node环境配置
{
"extends": "@bytehi/tsconfig/tsconfig.node.json"
}