When creating an react native app with expo, expo installs many module that i don't need. Is there a way to remove these unwanted modules like barcode reader google sign in and google maps. thanks
43 Answers
To remove a package from your node_modules directory, on the command line, use the uninstall command. Include the scope of the package is scoped.
Unscoped package
npm uninstall --save <package_name> Scoped package
npm uninstall --save <@scope/package_name> if need to know more about it then follow official Document here
1npm uninstall <package name> works. It removes the expo module from your node_modules
With NPM
$ npm uninstall jest Shorthand version
$ npm r jest With Yarn
$ yarn remove jest 1