Skip to content

Commit a2a51b6

Browse files
committed
init
1 parent 2e9f0f9 commit a2a51b6

File tree

14 files changed

+51014
-0
lines changed

14 files changed

+51014
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
.DS_Store
3+
*.log
4+
dist

example/.graphqlconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

example/package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"scripts": {
3+
"start": "node src",
4+
"deploy": "now --public && now alias && now rm --yes --safe github-graphql-binding"
5+
},
6+
"dependencies": {
7+
"github-graphql-binding": "^0.1.0",
8+
"graphql-import": "^0.1.4",
9+
"graphql-yoga": "^0.2.1"
10+
},
11+
"now": {
12+
"alias": "github-graphql-binding"
13+
}
14+
}

example/schemas/app.graphql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# import Repository from "./github.graphql"
2+
3+
type Query {
4+
hello(name: String): String!
5+
favoriteRepos: [Repository!]!
6+
}

0 commit comments

Comments
 (0)