react-native-true-sheet/tsconfig.json
Jovanni Lo 98694a3228
refactor: export mocks per module (#329)
* refactor(android): parent handles own translation in stack

* refactor: export mocks per module instead of __mocks__ directory

- Add src/mock.ts for main TrueSheet exports
- Add src/navigation/mock.ts for navigation module
- Add src/reanimated/mock.ts for reanimated module
- Remove src/__mocks__ directory
- Update tsconfig.json and package.json to remove __mocks__ references
- Update tests to use new mock imports

* refactor: consolidate mocks into src/mocks folder

- Move mock files into src/mocks/ directory
- Export as /mock, /navigation/mock, /reanimated/mock
- Update package.json exports
- Update tests and documentation

* chore: simplify jest.setup.js mocks

* test: add navigation mock tests

* ci: extract platform builds to separate workflow
2025-12-16 15:28:40 +08:00

33 lines
973 B
JSON

{
"compilerOptions": {
"rootDir": ".",
"paths": {
"@lodev09/react-native-true-sheet": ["./src/index"],
"@lodev09/react-native-true-sheet/reanimated": ["./src/reanimated/index"],
"@lodev09/react-native-true-sheet/navigation": ["./src/navigation/index"]
},
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react-jsx",
"lib": ["ESNext"],
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noImplicitUseStrict": false,
"noStrictGenericChecks": false,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"target": "ESNext",
"verbatimModuleSyntax": true
},
"exclude": ["lib", "build", "docs"]
}