46f688ac12
BREAKING CHANGE: * chore: remove files that are not necessary for api v2 * test: update existing tests to use pkg * feat: organized aniwatch api envs and add more info about them * feat: update tsconfig to include strict noUnsed params * feat(api homepage): revamp api home page * feat: update wani kuni image * feat: add dot img * feat: use hono cors * feat: use hono rate limiter * build: remove unnecessary deps, add ones needed and update description * feat: add hianime routes and their handlers * feat: update vercel deployment file * docs: update logo and scraper docs, add envs section * feat: update main server file * feat: update peronal deployments caution section
31 lines
718 B
JSON
31 lines
718 B
JSON
{
|
|
"compilerOptions": {
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"target": "ES2023",
|
|
"verbatimModuleSyntax": true,
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"moduleDetection": "force",
|
|
//
|
|
"strict": true,
|
|
// "noUncheckedIndexedAccess": true,
|
|
//
|
|
"moduleResolution": "NodeNext",
|
|
"module": "NodeNext",
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./",
|
|
"sourceMap": true,
|
|
//
|
|
"declaration": true,
|
|
"removeComments": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strictFunctionTypes": true,
|
|
"lib": ["ES2023"]
|
|
},
|
|
"include": ["./src", "./api"],
|
|
"exclude": ["node_modules"]
|
|
}
|