Move prepublish and fix prepublish script.
fixes nginx default config guide.
Add npm predeploy script