Skip to content

Commit

Permalink
Added homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishannaik committed Apr 19, 2024
1 parent d8ca031 commit 4e923c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "1.0.0",
"description": "",
"main": "index.js",
"homepage": "%REACT_APP_GH_PAGES% ? 'https://ishannaik.github.io/brainwave/' : ''",
"homepage": "%REACT_APP_GH_PAGES% ? '/brainwave' : ''",
"scripts": {
"start": "node server.js",
"predeploy": "REACT_APP_GH_PAGES=true react-scripts build",
"deploy": "gh-pages -d build",
"predeploy": "set REACT_APP_GH_PAGES=true && npm run build",
"deploy": "gh-pages -d ../client/dist",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm install && npm run build:client",
"build:client": "cd ../client && npm install && npm run build "
"build:client": "cd ../client && npm install && npm run build"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 4e923c9

Please sign in to comment.