@chapabu/tsconfig-node

1.0.0 • Public • Published

tsconfig

Base TypeScript configuration for Node projects.

Targets ES2018 for full compatibility with Node 10.

Usage

npm install @chapabu/tsconfig-node or yarn add @chapabu/tsconfig-node

tsconfig.json

{
  "extends": "@chapabu/tsconfig-node",
  "include": [
    "src"
  ]
}

I want to use Node 8

Just swap out the target in your project's tsconfig.json.

tsconfig.json

{
  "extends": "@chapabu/tsconfig-node",
  "compilerOptions": {
    "target": "es2017",
    "lib": ["es2017"]
  },
  "include": [
    "src"
  ]
}

Readme

Keywords

Package Sidebar

Install

npm i @chapabu/tsconfig-node

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

2.47 kB

Total Files

4

Last publish

Collaborators

  • chapabu