@reminnor/tsconfig
v0.0.8
Published
Shared TypeScript config for Remin projects
Downloads
31
Readme
tsconfig
Shared TS config for Remin projects
Install
Install this package in you project by issuing the following in the root of your project:
npm install --save-dev @reminnor/tsconfig
Usage
In the tsconfig.json
of your project extend the correct config for your project.
Node.js
Extend @reminnor/tsconfig/node
and set relevant options. Typically you'll want to set which files to compile, what to exclude and where to output. Like this:
{
"extends": "@reminnor/tsconfig/node.json",
"compilerOptions": {
"outDir": "dist"
},
"exclude": ["node_modules",],
"files": [
"src/index.ts"
]
}
React
A TS config file for React targetting browsers has not yet been added.
Public package
A TS config file used when building Remin packages for use when building packages for third party users (through distribution on NPM) has not yet been added.