Remove invalid names in package.json files
Store style file dir name in style object