1. npm install --save-dev gh-pages
  2. Add to package.json
    "scripts": {
     "deploy": "gh-pages -d dist"
    },
    
  3. run npm run deploy
  4. voila!