@sngular/tsconfig
v1.0.0
Published
Sngular's tsconfig
Downloads
8
Readme
@sngular/tsconfig
Sharable TypeScript config enforcing SNGULAR style guidelines.
Getting started
Install:
npm install --save-dev @sngular/tsconfig
Config for basic config:
echo "{ \"extends\": \"@sngular/tsconfig\" }" > tsconfig.json
Config for check only config:
echo "{ \"extends\": \"@sngular/tsconfig/checkOnly\" }" > tsconfig.json
After that you have to include:
- compilerOptions.outDir
- compilerOptions.rootDir
- include
- exclude
The final aspect of tsconfig
should be like:
{
"extends": "@sngular/tsconfig",
"compilerOptions": {
"outDir": "./dist-types",
"rootDir": "."
},
"include": ["src"],
"exclude": ["dist-types"]
}