@octohash/tsconfig
v0.2.0
Published
Shared TypeScript config for my projects.
Readme
@octohash/tsconfig
Shared TypeScript configuration presets for different environments.
pnpm add -D @octohash/tsconfigUsage
Extend one of the provided configurations in your tsconfig.json based on your project type:
{
// base | node | web | library
"extends": "@octohash/tsconfig/web.json"
}Recommendation
Choose the preset that most closely matches your project environment:
node.jsonfor backend/Node.js projectsweb.jsonfor frontend/browser projectslibrary.jsonwhen building shareable librariesbase.jsonas a starting point for custom configurations
You can always extend and override specific settings in your project's tsconfig.json as needed.
License
MIT License © jinghaihan
