1.0.0 • Published 5 years ago

@chapabu/tsconfig-node v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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