tsconfig 1.0.1
Install from the command line:
Learn more about npm packages
$ npm install @iwsllc/tsconfig@1.0.1
Install via package.json:
"@iwsllc/tsconfig": "1.0.1"
About this version
This is used for general purpose Node based or server side applications.
{
"extends": "@iwsllc/tsconfig",
"compilerOptions": {~
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["src/**/*"],
}
Extends base and includes "lib": ["dom", "dom.iterable", "esnext"]
{
"extends": "@iwsllc/tsconfig/browser",
"compilerOptions": {~
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["src/**/*"],
}
Includes /browser
and adds "jsx": "react-jsx"
{
"extends": "@iwsllc/tsconfig/react",
"compilerOptions": {~
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["src/**/*"],
}
{
"compileOptions": {
"types": [
"vitest/globals",
"@testing-library/jest-dom/vitest"
]
}
}