Skip to content

Commit e8b6da7

Browse files
Publishing app to github pages
1 parent 61fbf17 commit e8b6da7

File tree

3 files changed

+156
-18
lines changed

3 files changed

+156
-18
lines changed

frontend/package-lock.json

Lines changed: 136 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,34 @@
22
"name": "rao-optimization-visualizer",
33
"version": "0.1.0",
44
"private": true,
5+
"homepage": "https://vaidhyamegha.github.io/optimization_algorithms",
56
"dependencies": {
7+
"@react-three/drei": "^9.88.13",
8+
"bootstrap": "^5.3.2",
9+
"chart.js": "^4.4.0",
10+
"d3": "^7.8.5",
11+
"katex": "^0.16.9",
12+
"mathjs": "^12.1.0",
13+
"plotly.js": "^2.27.1",
614
"react": "^18.2.0",
15+
"react-bootstrap": "^2.9.1",
16+
"react-chartjs-2": "^5.2.0",
717
"react-dom": "^18.2.0",
18+
"react-katex": "^3.0.1",
19+
"react-plotly.js": "^2.6.0",
820
"react-router-dom": "^6.20.0",
921
"react-scripts": "5.0.1",
10-
"chart.js": "^4.4.0",
11-
"react-chartjs-2": "^5.2.0",
12-
"plotly.js": "^2.27.1",
13-
"react-plotly.js": "^2.6.0",
14-
"mathjs": "^12.1.0",
15-
"bootstrap": "^5.3.2",
16-
"react-bootstrap": "^2.9.1",
1722
"react-syntax-highlighter": "^15.5.0",
18-
"react-katex": "^3.0.1",
19-
"katex": "^0.16.9",
20-
"three": "^0.158.0",
2123
"react-three-fiber": "^6.0.13",
22-
"@react-three/drei": "^9.88.13",
23-
"d3": "^7.8.5"
24+
"three": "^0.158.0"
2425
},
2526
"scripts": {
2627
"start": "react-scripts start",
2728
"build": "react-scripts build",
2829
"test": "react-scripts test",
29-
"eject": "react-scripts eject"
30+
"eject": "react-scripts eject",
31+
"predeploy": "npm run build",
32+
"deploy": "gh-pages -d build"
3033
},
3134
"eslintConfig": {
3235
"extends": [
@@ -45,5 +48,8 @@
4548
"last 1 firefox version",
4649
"last 1 safari version"
4750
]
51+
},
52+
"devDependencies": {
53+
"gh-pages": "^6.3.0"
4854
}
4955
}

frontend/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
2+
import { HashRouter as Router, Routes, Route } from 'react-router-dom';
33
import Header from './components/Header';
44
import Footer from './components/Footer';
55
import HomePage from './pages/HomePage';

0 commit comments

Comments
 (0)