scripts
#
InstallationAdd this to package.json scripts:
Or run these through npx:
#
API#
src-cleanRemove any gitignored files from the src
folder. Throws an error if there are any modified files
tracked by git.
#
gql-cleanRemove all __generated__
folders/files.
#
global-types-cleanRemoves the globalTypes.ts
file if it's empty (TypeScript will fail with isolatedModules: true
setting).
#
cache-clearClears all the common caches.
#
cache-clear-eslintClears the (standalone) eslint cache file (.eslintcache
).
#
cache-clear-npmRemoves the node_modules/.cache
folder.
#
cache-clear-rnClears the react-native watchman cache.
#
cache-clear-expoClears the expo cache.