Skip to content

Commit 0e90cb5

Browse files
Application deploy to github pages
1 parent 0d5a4f7 commit 0e90cb5

File tree

2 files changed

+96
-1
lines changed

2 files changed

+96
-1
lines changed

package-lock.json

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

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "covid-19",
33
"version": "0.1.0",
44
"private": true,
5+
"homepage": "https:/PrinceSumberia.github.io/covid-tracker",
56
"dependencies": {
67
"@fortawesome/fontawesome-svg-core": "^1.2.28",
78
"@fortawesome/free-solid-svg-icons": "^5.13.0",
@@ -14,6 +15,7 @@
1415
"@testing-library/user-event": "^7.2.1",
1516
"axios": "^0.19.2",
1617
"classnames": "^2.2.6",
18+
"gh-pages": "^2.2.0",
1719
"react": "^16.13.1",
1820
"react-dom": "^16.13.1",
1921
"react-router-dom": "^5.1.2",
@@ -23,6 +25,8 @@
2325
"recharts": "^1.8.5"
2426
},
2527
"scripts": {
28+
"predeploy": "npm run build",
29+
"deploy": "gh-pages -d build",
2630
"start": "react-scripts start",
2731
"build": "react-scripts build",
2832
"test": "react-scripts test",
@@ -43,4 +47,4 @@
4347
"last 1 safari version"
4448
]
4549
}
46-
}
50+
}

0 commit comments

Comments
 (0)