move npm install to after sed replace
use ruby string inflector for classname