Fix travis ci build to use packages.json instead