wx-miniapp-before-hook (npm): add some hooks for wx miniapp
Keywords: before|beforeOnLoad|beforeOnShow|wx-miniapp-before-hook