Skip to content

Commit 5a5c0e5

Browse files
authored
Merge pull request #1 from akashraj9828/development
Basic setup
2 parents b49e72c + 3478032 commit 5a5c0e5

File tree

17 files changed

+409
-57
lines changed

17 files changed

+409
-57
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#.env
2+
GENERATE_SOURCEMAP=false

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,5 @@ npm-debug.log*
2323
yarn-debug.log*
2424
yarn-error.log*
2525

26-
*.env
2726

2827
/graphql_payload

package.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
{
2-
"name": "git-stats",
3-
"version": "1.0.0",
2+
"name": "git-status",
3+
"version": "0.1.0",
44
"private": true,
5+
"engines": {
6+
"node": "10.16.x",
7+
"npm": "6.x"
8+
},
59
"dependencies": {
610
"@testing-library/jest-dom": "^4.2.4",
7-
"@testing-library/react": "^9.3.2",
8-
"@testing-library/user-event": "^7.1.2",
9-
"bootstrap": "^4.4.1",
11+
"@testing-library/react": "^9.5.0",
12+
"@testing-library/user-event": "^7.2.1",
13+
"express": "^4.17.1",
14+
"node-sass": "^4.13.1",
15+
"path": "^0.12.7",
1016
"react": "^16.13.1",
1117
"react-dom": "^16.13.1",
12-
"react-router": "^5.1.2",
13-
"react-router-dom": "^5.1.2",
14-
"react-scripts": "3.4.1",
15-
"source-map-explorer": "^2.4.2"
16-
"node-sass":"^0.0.1"
18+
"react-scripts": "3.4.1"
1719
},
1820
"scripts": {
19-
"analyze": "source-map-explorer 'build/static/js/*.js'",
20-
"start": "react-scripts start",
21+
"start": "node server.js",
22+
"dev": "react-scripts start",
2123
"build": "react-scripts build",
2224
"test": "react-scripts test",
2325
"eject": "react-scripts eject"

public/cat-logo.png

5.3 KB
Loading

public/img/member.png

49.7 KB
Loading

public/img/moon.png

941 Bytes
Loading

public/img/octocat.png

31.8 KB
Loading

public/img/sun.png

898 Bytes
Loading

public/index.html

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,44 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
43
<head>
54
<meta charset="utf-8" />
65
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
76
<meta name="viewport" content="width=device-width, initial-scale=1" />
87
<meta name="theme-color" content="#000000" />
9-
<meta name="description" content="GitStats - A github contribution analyzer" />
8+
<meta
9+
name="description"
10+
content="Web site created using create-react-app"/>
1011
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
12+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
13+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
14+
<!--
15+
manifest.json provides metadata used when your web app is installed on a
16+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
17+
-->
1118
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
12-
<title>GitStats</title>
13-
</head>
19+
<!--
20+
Notice the use of %PUBLIC_URL% in the tags above.
21+
It will be replaced with the URL of the `public` folder during the build.
22+
Only files inside the `public` folder can be referenced from the HTML.
1423
24+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
25+
work correctly both with client-side routing and a non-root public URL.
26+
Learn how to configure a non-root public URL by running `npm run build`.
27+
-->
28+
<title>Git Analyzer Tool</title>
29+
</head>
1530
<body>
1631
<noscript>You need to enable JavaScript to run this app.</noscript>
1732
<div id="root"></div>
18-
</body>
33+
<!--
34+
This HTML file is a template.
35+
If you open it directly in the browser, you will see an empty page.
36+
37+
You can add webfonts, meta tags, or analytics to this file.
38+
The build step will place the bundled scripts into the <body> tag.
1939
20-
</html>
40+
To begin the development, run `npm start` or `yarn start`.
41+
To create a production bundle, use `npm run build` or `yarn build`.
42+
-->
43+
</body>
44+
</html>

public/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"short_name": "GitStats",
3-
"name": "GitStats - A github contribution analyzer",
2+
"short_name": "React App",
3+
"name": "Create React App Sample",
44
"icons": [
55
{
66
"src": "favicon.ico",

0 commit comments

Comments
 (0)