using chai instead of should
moving publish dependency to dev only
small change to help with the win32 port