remove dependencies and publish folder