Installation
cd react-native-alias-imports
npm link
check-imports --help
check-imports -r <rootDir> -p
NodeJS CLI script that looks at all subdirectories for package.json files and prints the package.json "name" property as well as the path to the directory. This is helpful if you want to use absolute aliased imports in react-native instead of relative imports
cd react-native-alias-imports
npm link
check-imports --help
check-imports -r <rootDir> -p
NodeJS CLI script that looks at all subdirectories for package.json files and prints the package.json "name" property as well as the path to the directory. This is helpful if you want to use absolute aliased imports in react-native instead of relative imports