@react-native-vector-icons/common
Version:
Customizable Icons for React Native with support for image source and full styling.
12 lines (8 loc) • 344 B
text/typescript
import { getFontPaths } from './common';
const packageJsonFilename = process.argv[2];
if (!packageJsonFilename) {
throw new Error('Need the path to the roo package.json as the first argument');
}
const fonts = getFontPaths(packageJsonFilename);
fonts.map((font) => console.log(font)); // eslint-disable-line no-console