1.0.6 • Published 5 years ago

@kudoo/tsconfig v1.0.6

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

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