Install the package:
$ yarn add -D git+https://[email protected]/derniercri/ts-config-derniercri.git
Create or edit a tsconfig.json
file at project's root :
{
// Web (React)
"extends": "ts-config-derniercri/tsconfig.web.json"
// Mobile (React Native)
"extends": "ts-config-derniercri/tsconfig.mobile.json"
}
And voilà !