@ayanaware/ts
TypeScript config, linting and compiler helper for Ayana projects.
Install
yarn add @ayanaware/ts tslint typescript --dev
npm i @ayanaware/ts tslint typescript --only=dev
Use
To use the TSConfig, add the following to your tsconfig.json
:
{
"extends": "@ayanaware/ts/config"
}
NOTE: Using this TSConfig will make tsc
unusable by itself. You have to use ayc
, either in the command line by installing it globally or as a build script inside your package.json
.
To use the TSLint config, add the following to your tslint.json
:
{
"extends": "@ayanaware/ts/lint"
}