{
  "name": "repository-viewer",
  "version": "1.0.0",
  "description": "",
  "main": "dist/index.html",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/karl/repository-viewer.git"
  },
  "author": "",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/karl/repository-viewer/issues"
  },
  "homepage": "https://github.com/karl/repository-viewer#readme",
  "devDependencies": {
    "http-server": "^0.8.0"
  }
}

{
  "name": "repository-viewer",
  "version": "1.0.0",
  "description": "",
  "main": "dist/index.html",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "deploy": "git subtree push --prefix dist origin gh-pages"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/karl/repository-viewer.git"
  },
  "author": "",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/karl/repository-viewer/issues"
  },
  "homepage": "https://github.com/karl/repository-viewer#readme",
  "devDependencies": {
    "http-server": "^0.8.0"
  }
}

Add script to deploy to GitHub pages.
Add script to deploy to GitHub pages.
