basic package.json with react module
move JS code to separate file