Skip to content

Commit

Permalink
simplify devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrolich committed Feb 16, 2021
1 parent 1df921f commit 7e778d8
Show file tree
Hide file tree
Showing 5 changed files with 1,603 additions and 3,678 deletions.
13 changes: 13 additions & 0 deletions dslToJson.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env node
var fs = require("fs");
const { buildSchema, graphqlSync, getIntrospectionQuery } = require("graphql");
process.stdout.write(
JSON.stringify(
graphqlSync({
schema: buildSchema(fs.readFileSync("schema.graphql", "utf8")),
source: getIntrospectionQuery(),
}),
null,
2
)
);
Loading

0 comments on commit 7e778d8

Please sign in to comment.