Package for refactor-move or refactor-delete/safe-delete


I am working on a React project (using ES6). I would like to know if there exists a package that supports the following:

  • refactor-move: Allow me to move a file. The move should take care that my imports still work.
  • refactor-delete/safe-delete: If I want to delete a file from the project, it should check which files in the project (if any) reference that file and should warn me before I delete said file.