npmify and remove type component dep
Automatically rewritten for npm.