@p-chan/tsconfig
v1.2.0
Published
Shareable TypeScript config for @p-chan
Downloads
8
Readme
tsconfig
Shareable TypeScript config for @p-chan
Install
$ npm install @p-chan/tsconfig --save-dev
Usage
Edit tsconfig.json
.
{
// Default (use Recommended)
"extends": "@p-chan/tsconfig",
// Recommended
"extends": "@p-chan/tsconfig/recommended.json",
// for Node.js v12
"extends": "@p-chan/tsconfig/node12.json",
// for Node.js v14
"extends": "@p-chan/tsconfig/node14.json",
// for Next.js
"extends": "@p-chan/tsconfig/next.json"
}
Override
{
"extends": "@p-chan/tsconfig",
"compilerOptions": {
"outDir": "./dist",
"baseUrl": "./"
}
}
Author
License
MIT
Inspired by sindresorhus/tsconfig