Selaa lähdekoodia

Give up on Github Pages and switch to zeit/now

Will Hilton 8 vuotta sitten
vanhempi
commit
089a1c711e
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      package.json

+ 4 - 1
package.json

@@ -5,7 +5,7 @@
   "description": "William Hilton's website",
   "scripts": {
     "start": "jus serve",
-    "deploy": "npm run build && npm run commit && npm run push && npm run open",
+    "deploy": "npm run build && now --static dist",
     "build": "jus build . dist",
     "commit": "git add dist && git commit -m deploy",
     "push": "git subrepo push dist",
@@ -24,5 +24,8 @@
   "devDependencies": {
     "jus": "^0.24.1",
     "opener": "^1.4.1"
+  },
+  "now": {
+    "alias": "wmhilton.com"
   }
 }