@kudoo/tsconfig
v1.0.6
Published
> Shared [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) for my projects
Downloads
9
Keywords
Readme
tsconfig
Shared TypeScript config for my projects
Install
$ npm install --save-dev @kudoo/tsconfig
Usage
tsconfig.json
{
"extends": "@kudoo/tsconfig",
}
NPM scripts
It's also a good idea to include these scripts
"scripts": {
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"build": "npm run build:types && npm run build:js",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",
"lint": "tslint -c tslint.json 'src/**/*.ts'",
"start": "cd lib && node index.js"
License
MIT