Skip to content

Commit

Permalink
Update react-scripts to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
rjossy committed Oct 9, 2019
1 parent de62ac6 commit 3ebc544
Show file tree
Hide file tree
Showing 5 changed files with 7,163 additions and 3,737 deletions.
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"devDependencies": {
"enzyme": "^3.0.0",
"gh-pages": "^0.12.0",
"react-scripts": "1.0.14",
"react-scripts": "3.2.0",
"react-test-renderer": "^15.0.0",
"sw-precache": "^5.2.0"
},
Expand All @@ -22,5 +22,17 @@
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"deploy": "npm run build&&gh-pages -b master -d build"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
2 changes: 1 addition & 1 deletion src/components/SocialShare/Facebook.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Icon, IconPaths } from './icons.js';
const facebookLink = "https://www.facebook.com/sharer/sharer.php?u=https://roshanjossey.github.io/first-contributions&quote=Yay%21%20I%20just%20made%20my%20first%20open%20source%20contribution%20with%20First%20Contributions.%20You%20can%20too,%20by%20following%20a%20simple%20tutorial%20at%20https%3A//goo.gl/66Axwe&hashtag=%23Hacktoberfest"

const FacebookCard = () => (
<a className="icon-card twitter" href={facebookLink} target="_blank">
<a className="icon-card twitter" href={facebookLink} rel="noopener noreferrer" target="_blank">
<Icon
color="rgb(255, 255, 255)"
size={40}
Expand Down
2 changes: 1 addition & 1 deletion src/components/SocialShare/Linkedin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Icon, IconPaths } from './icons.js';
const LinkedinLink = "https://www.linkedin.com/shareArticle?mini=true&url=https://goo.gl/66Axwe&title=First%20Contributions%20&summary=A%20project%20to%20help%20beginners%20get%20started%20with%20contributing%20to%20open%20source&source=https://roshanjossey.github.io"

const LinkedinCard = () => (
<a className="icon-card linkedin" href={LinkedinLink} target="_blank">
<a className="icon-card linkedin" href={LinkedinLink} rel="noopener noreferrer" target="_blank">
<Icon
color="rgb(255, 255, 255)"
size={50}
Expand Down
2 changes: 1 addition & 1 deletion src/components/SocialShare/Twitter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Icon, IconPaths } from './icons.js';
const twitterLink = "https://twitter.com/intent/tweet?text=Yay%21%20I%20just%20made%20my%20first%20open%20source%20contribution%20with%20@1stcontribution.%20You%20can%20too%20at%20https%3A//goo.gl/66Axwe%0A&hashtags=OpenSource,CodeNewbie,Hacktoberfest"

const TwitterCard = () => (
<a className="icon-card twitter" href={twitterLink} target="_blank">
<a className="icon-card twitter" href={twitterLink} rel="noopener noreferrer" target="_blank">
<Icon
color="rgb(255, 255, 255)"
size={40}
Expand Down
Loading

0 comments on commit 3ebc544

Please sign in to comment.