@risedle/tsconfig

1.0.1 • Public • Published

@risedle/tsconfig

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

Readme

Keywords

none

Package Sidebar

Install

npm i @risedle/tsconfig

Homepage

risedle.com

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

4.69 kB

Total Files

9

Last publish

Collaborators

  • pyk