From f4ecefdca9ae386690f62a2947083aa3241adc22 Mon Sep 17 00:00:00 2001 From: vaasu Date: Sat, 7 Mar 2020 04:07:36 +0530 Subject: [PATCH] Testing run-p dependency error in heroku --- package.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d365a13..84bb83b 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,21 @@ { "name": "picturestory-v2", + "homepage": "http://mohiit1502.github.io/PictureStory-v2", "version": "0.1.0", "private": true, "dependencies": {}, "scripts": { "clientinstall": "cd client && npm install", "serverinstall": "cd server && npm install", - "install": "run-p clientinstall serverinstall", + "install": "npm install && run-p clientinstall serverinstall", "clientstart": "cd client && npm start", "serverstart": "cd server && npm start", - "start": "run-p clientstart serverstart", - "build": "cd client && npm run build" + "start": "npm install && run-p clientstart serverstart", + "build": "cd client && npm run build", + "predeployclient": "cd client && npm run build", + "predeployserver": "cd server && npm run build", + "predeploy": "run-p predeployclient predeployserver", + "deploy": "gh-pages -d build" }, "devDependencies": { "npm-run-all": "^4.1.5"