fix npm package crash caused by wrong package contents definition