@ayana/ts

TypeScript config, linting and compiler helper for Ayana projects

Usage no npm install needed!

<script type="module">
  import ayanaTs from 'https://cdn.skypack.dev/@ayana/ts';
</script>

README

@ayana/ts NPM Discord

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"
}