1.0.1 • Published 3 years ago

@risedle/tsconfig v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Shared Typescript configuration.

Installation

Use the following command to install @risedle/tsconfig:

# npm
npm install --save-dev --save-exact @risedle/tsconfig@latest

# pnpm
pnpm add --save-dev --save-exact @risedle/tsconfig@latest

Usage

Use available json as the baseline of your tsconfig.json. For example:

{
    "extends": "@risedle/tsconfig/shared-library.json",
    "compilerOptions": {
        "outDir": "dist"
    },
    "include": ["src/**/*.ts"],
    "exclude": ["node_modules", "dist"]
}

You can use various pre-made config for Node, React etc.

Here is the example on how to use @risedle/tsconfig for node project:

{
    "extends": "@risedle/tsconfig/node.json",
    "compilerOptions": {
        "outDir": "dist"
    },
    "include": ["src/**/*.ts"],
    "exclude": ["node_modules", "dist"]
}

Resources

1.0.1

3 years ago

1.0.0

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago