update travis yml & package.json to generate docs and testss