Move npm commands into metadata