-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
28 lines (27 loc) · 982 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"extends": "@react-native/typescript-config/tsconfig.json",
"compilerOptions": {
"strict": true,
// Path alias config
"baseUrl": ".",
"paths": {
// This needs to be mirrored in babel.config.js
// Components is a directory with sub directories
"#atoms/*": ["./src/components/atoms/*"],
"#molecules/*": ["./src/components/molecules/*"],
"#organisms/*": ["./src/components/organisms/*"],
"#templates/*": ["./src/components/templates/*"],
"#screens/*": ["./src/screens/*"],
"#navigators/*": ["./src/navigators/*"],
"#slices/*": ["./src/redux/slices/*"],
"#icons/*": ["./src/assets/icons/*"],
"#constants/*": ["src/constants/*"],
"#redux/*": ["src/redux/*"],
"#hooks/*": ["src/hooks/*"],
"#utils/*": ["src/utils/*"],
"#apis/*": ["src/apis/*"],
// We want to expose the exports of the buttons index file
// "buttons": ["src/components/buttons/index"]
}
}
}