Skip to content

Commit c28032d

Browse files
author
Junip Dewan
committed
added dependencies
1 parent 79a8c94 commit c28032d

File tree

8 files changed

+7297
-0
lines changed

8 files changed

+7297
-0
lines changed

package-lock.json

Lines changed: 7244 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: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "graphql-react",
3+
"version": "1.0.0",
4+
"description": "Project to practice the Graphql with react",
5+
"main": "index.js",
6+
"scripts": {
7+
"dev": "parcel src/index.html",
8+
"test": "echo \"Error: no test specified\" && exit 1"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "git@github.com-junip:junipdewan/graphql-react.git"
13+
},
14+
"author": "",
15+
"license": "ISC",
16+
"dependencies": {
17+
"@apollo/react-hooks": "^3.1.5",
18+
"@types/react": "^16.9.35",
19+
"apollo-boost": "^0.4.9",
20+
"graphql": "^15.0.0",
21+
"node-sass": "^4.14.1",
22+
"parcel-bundler": "^1.12.4",
23+
"react": "^16.13.1",
24+
"react-dom": "^16.13.1"
25+
}
26+
}

src/App.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import React from 'react'
2+
import ReactDOM from 'react-dom';
3+
import './scss/main.scss'
4+
const App = () => {
5+
return (
6+
<div>asd</div>
7+
)
8+
}
9+
10+
ReactDOM.render(<App />, document.getElementById('root'))

src/components/ShowCountries.js

Whitespace-only changes.

src/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Document</title>
7+
</head>
8+
<body>
9+
<div id="root"></div>
10+
<script src="./App.js"></script>
11+
</body>
12+
</html>

src/queries/fetchCountries.js

Whitespace-only changes.

src/scss/_layout.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
body {
2+
font-family: 'Balsamiq Sans',cursive
3+
}

src/scss/main.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@import url(https://fonts.googleapis.com/css2?family=Balsamiq+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap);
2+
@import './layout'

0 commit comments

Comments
 (0)