From 6d0f0e3b90ed4ea14e9d5fa0caa8b9d247afc5ab Mon Sep 17 00:00:00 2001 From: Kevin Ngo Date: Mon, 10 Dec 2018 15:34:46 -0800 Subject: [PATCH] build before predeploy --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 175ef0f..ec8b054 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "deploy": "ghpages git@github.com:supermedium/supersaber.git -p .ghpages && rm -rf .ghpages", "lint": "semistandard -v | snazzy", "lint:fix": "semistandard --fix", - "predeploy": "shx mkdir -p .ghpages && cp -r index.html play.html assets build site vendor .ghpages", + "predeploy": "npm run build && shx mkdir -p .ghpages && cp -r index.html play.html assets build site vendor .ghpages", "start": "webpack-dev-server --host 0.0.0.0 --progress --colors --hot --inline --port 3000" }, "dependencies": {