Remove dead dependencies, and move precommit-hook to devDependencies.