GoonCord/tsconfig.json
ryan-0324 6162dfd08b
refactor+chore: metro & misc. (#29)
* Refactored `lib/metro` and added types + cleaned up `tsconfig.json` + minor changes to `build.mjs` and `package.json`

* Made requested changes + added eslint rule to restrict top-level await

* Exclude `transform-async-to-generator` from `env` (async/await is es7)
2024-05-05 11:33:53 +08:00

35 lines
850 B
JSON

{
"exclude": ["dist"],
"compilerOptions": {
"strict": true,
"paths": {
"@core/*": ["./src/core/*"],
"@lib": ["./src/lib"],
"@lib/*": ["./src/lib/*"],
"@metro": ["./src/lib/metro"],
"@metro/*": ["./src/lib/metro/*"],
"@ui": ["./src/lib/ui"],
"@ui/*": ["./src/lib/ui/*"],
"@types": ["./src/lib/utils/types.ts"],
"bunny-build": ["./src/modules.d.ts"]
},
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"plugins": [
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
],
"jsx": "react",
"target": "esnext"
}
}