Skip to content

Commit 9fc9f10

Browse files
committed
Update package.json for deployment
1 parent dcabd12 commit 9fc9f10

File tree

2 files changed

+187
-6
lines changed

2 files changed

+187
-6
lines changed

package-lock.json

+181-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "portfolio-website",
33
"version": "0.1.0",
4+
"homepage": "https://mireille-t.github.io",
45
"private": true,
56
"dependencies": {
67
"@fortawesome/fontawesome-svg-core": "^6.6.0",
@@ -21,6 +22,8 @@
2122
"web-vitals": "^2.1.4"
2223
},
2324
"scripts": {
25+
"predeploy": "npm run build",
26+
"deploy": "gh-pages -d build",
2427
"start": "react-scripts start",
2528
"build": "react-scripts build",
2629
"test": "react-scripts test",
@@ -43,5 +46,8 @@
4346
"last 1 firefox version",
4447
"last 1 safari version"
4548
]
49+
},
50+
"devDependencies": {
51+
"gh-pages": "^6.1.1"
4652
}
4753
}

0 commit comments

Comments
 (0)