Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Wayeet/f10b1b4a4e4e7eac8aa187a1a914a30e to your computer and use it in GitHub Desktop.
Save Wayeet/f10b1b4a4e4e7eac8aa187a1a914a30e to your computer and use it in GitHub Desktop.
Sample, minimal tsconfig.json for NPM package
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"lib": ["es2017", "es7", "es6", "dom"],
"declaration": true,
"outDir": "dist",
"strict": true,
"esModuleInterop": true
},
"exclude": [
"node_modules",
"dist"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment