Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ck-oss/tsconfig
CK OSS Typescript Configuration
https://github.com/ck-oss/tsconfig
cloudflare-workers hono nextjs nodejs reactjs typescript
Last synced: 15 days ago
JSON representation
CK OSS Typescript Configuration
- Host: GitHub
- URL: https://github.com/ck-oss/tsconfig
- Owner: ck-oss
- Created: 2023-09-22T17:53:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-27T07:12:39.000Z (about 2 months ago)
- Last Synced: 2024-10-25T10:38:16.620Z (23 days ago)
- Topics: cloudflare-workers, hono, nextjs, nodejs, reactjs, typescript
- Language: Shell
- Homepage:
- Size: 257 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# @ck-oss/tsconfig
CK OSS Typescript Configuration
## Installation
```bash
npm i --save-dev @ck-oss/tsconfig
```## Base
```json
{
"extends": "@ck-oss/tsconfig/base.json"
}
```Make sure to also install Cloudflare Workers Types
```bash
npm i --save-dev @cloudflare/workers-types
```## Next.js
```json
{
"extends": "@ck-oss/tsconfig/next.json",
"compilerOptions": {
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
```# Node.js
```json
{
"extends": "@ck-oss/tsconfig/node.json"
}
```# React.js
```json
{
"extends": "@ck-oss/tsconfig/react.json"
}
```