react-map-gl/tsconfig.json
2025-01-27 16:06:44 -08:00

45 lines
1.1 KiB
JSON

{
"ts-node": {
"include": [
"modules",
"test"
],
// It is faster to skip typechecking. Remove if you want ts-node to do typechecking.
"transpileOnly": true
},
"compilerOptions": {
"target": "es2020",
"module": "es2020",
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"jsx": "react",
"allowJs": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"moduleResolution": "node",
"baseUrl": "./",
"paths": {
"react-map-gl": ["modules/main/src"],
"@vis.gl/react-mapbox": ["modules/react-mapbox/src"],
"@vis.gl/react-maplibre": ["modules/react-maplibre/src"]
},
"plugins": [
{
"transform": "@vis.gl/ts-plugins/ts-transform-append-extension",
"extensions": [".js"],
"after": true
},
{
"transform": "@vis.gl/ts-plugins/ts-transform-append-extension",
"extensions": [".js"],
"afterDeclarations": true
}
]
},
"include":[
"examples/**/*",
"modules/**/*",
"test/**/*"
]
}