@0x57/typescript-config
v1.1.0
Published
Shared TypeScript configurations used by 0x57 projects
Readme
@0x57/typescript-config
An opinionated shared TypeScript config targeting TypeScript v5.9.
Usage
Install the package:
bun add -D @0x57/typescript-configThen create or modify your tsconfig.json file depending on the situations below.
Next.js
{
"extends": "@0x57/typescript-config/nextjs.json"
}Library
{
"extends": "@0x57/typescript-config/library.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist"
},
"include": ["src", "test"],
"exclude": ["node_modules", "dist"]
}Server Application
If you are not using Bun, you may want to use the setup for a library instead.
{
"extends": "@0x57/typescript-config/base.json"
}