@regionhalland/tsconfig
v1.4.0
Published
Shared TSConfig for Region Halland TypeScript projects
Downloads
21
Readme
@regionhalland/tsconfig
This package is using for React and Node.js application.
Recommended installation:
yarn add -D typescript @regionhalland/tsconfig
Sample configuration for React application:
// tsconfig.json
{
"extends": "@regionhalland/tsconfig/base.json",
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}
},
"include": ["src/**/*"]
}
Sample configuration for Node.js application:
// tsconfig.json
{
"extends": "@regionhalland/tsconfig/node.json",
"compilerOptions": {
"outDir": "dist"
},
"include": ["src/**/*"]
}