UNPKG

create-nova-expo-template

Version:

A template for creating a new React Native app using Expo and TypeScript, with a focus on performance and best practices.

24 lines (18 loc) 690 B
--- description: Recursively strip all console.log statements from JS/TS source files allowed-tools: Bash(node scripts/removeLogs.js) --- # Remove Console Logs Strip every `console.log` statement from the project's source files. ## When to use - Before committing or deploying, to clean up debug logging. ## Steps 1. From the project root, run: ```bash node scripts/removeLogs.js ``` 2. Review the diff to make sure no important logging was removed. ## Notes - Edits files in place across `.js`, `.jsx`, `.ts`, and `.tsx`. - Only `console.log` is removed; other `console.*` methods are untouched. - Excludes `node_modules`, `.git`, `dist`, and `build`.