add package.json
return json and add view plugins