Megaselling author James Patterson has pledged at least $1 million to aid struggling independent bookstores.