@ayana/ts

TypeScript config, linting and compiler helper for Ayana projects

@ayana/ts

TypeScript config, linting and compiler helper for Ayana projects.

Install

yarn add @ayana/ts tslint typescript --dev
npm i @ayana/ts tslint typescript --only=dev

Use

To use the TSConfig, add the following to your tsconfig.json:

{
    "extends": "@ayana/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": "@ayana/ts/lint"
}

Repository

https://gitlab.com/ayana/tools/ts


相关推荐