@aetherjs/ts-config

0.1.5 • Public • Published
aether-framework

@aetherjs/ts-config

Typescript configuration for Aether Development projects.

GitHub NPM Version

Installation

Install the package with one of the following commands below.

# For NPM
npm install --save-dev @aetherjs/ts-config

# For PNPM
pnpm add -D @aetherjs/ts-config

# For YARN
yarn add -D @aetherjs/ts-config

Usage

Add the following to your tsconfig.json file.

{
    "extends": "@aetherjs/ts-config"
}

Below is a copy of the configuration for easy viewing.

{
    "compileOnSave": true,
    "compilerOptions": {
        "allowSyntheticDefaultImports": true,
        "alwaysStrict": true,
        "declaration": true,
        "declarationMap": true,
        "emitDecoratorMetadata": false,
        "esModuleInterop": true,
        "experimentalDecorators": true,
        "forceConsistentCasingInFileNames": true,
        "importHelpers": true,
        "importsNotUsedAsValues": "error",
        "incremental": true,
        "lib": ["esnext"],
        "module": "CommonJS",
        "moduleResolution": "Node",
        "newLine": "lf",
        "noEmitHelpers": true,
        "noFallthroughCasesInSwitch": true,
        "noImplicitReturns": true,
        "noUnusedLocals": true,
        "noUnusedParameters": true,
        "preserveConstEnums": true,
        "pretty": true,
        "removeComments": false,
        "resolveJsonModule": true,
        "sourceMap": true,
        "strict": true,
        "target": "ES2020",
        "useDefineForClassFields": true
    }
}

This package was inspired by @sapphire/ts-config

Package Sidebar

Install

npm i @aetherjs/ts-config

Weekly Downloads

512

Version

0.1.5

License

MIT

Unpacked Size

4.14 kB

Total Files

3

Last publish

Collaborators

  • zendrex