Changed the npm script `dist` to `amd` to match the h5.pubsub project.