-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
18 lines (18 loc) · 861 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"name": "twitch-graphql-api",
"version": "1.0.0",
"description": "A documentation and schema scraping of Twitch's GraphQL API.",
"scripts": {
"build": "pnpm run gen-schema && pnpm run gen-docs",
"gen-schema": "pnpm run gen-schema:gql && pnpm run gen-schema:json",
"gen-schema:gql": "get-graphql-schema https://gql.twitch.tv/gql --header Client-Id=kimne78kx3ncx6brgo4mv6wki5h1ko > schema.graphql",
"gen-schema:json": "get-graphql-schema https://gql.twitch.tv/gql --header Client-Id=kimne78kx3ncx6brgo4mv6wki5h1ko -j > schema.json",
"gen-docs": "graphqldoc -e https://gql.twitch.tv/gql -x \"Client-Id: kimne78kx3ncx6brgo4mv6wki5h1ko\" -o ./docs --force"
},
"author": "Kyle Williams",
"license": "I Solemny Swear That I Am Up To No Good",
"dependencies": {
"get-graphql-schema": "^2.1.2",
"graphqldoc": "^2.5.2"
}
}