-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
41 lines (41 loc) · 1.36 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "graphql-client-example-server",
"version": "1.5.2",
"description": "A simple GraphQL server for powering examples of various GraphQL clients in various languages.",
"main": "bin/index.js",
"repository": "https://github.com/zth/graphql-client-example-server",
"author": "Gabriel Nordeborn",
"license": "MIT",
"bin": {
"graphql-client-example-server": "bin/index.js"
},
"scripts": {
"build-artifact": "ncc build src/index.ts -o out/bin",
"build": "yarn tsc",
"generate-schema": "yarn build && node dist/scripts/generateSchemaGraphQLFile.js",
"start": "yarn build && node dist/index.js",
"prettier": "find . -name node_modules -prune -or -name dist -prune -or -name '*.ts' -print | xargs prettier --write"
},
"husky": {
"hooks": {
"pre-commit": "yarn prettier && yarn generate-schema && git add schema.graphql"
}
},
"dependencies": {
"@graphql-yoga/node": "^2.8.0",
"envelop-plugin-relay-defer": "^1.0.2",
"graphql": "^16.3.0-canary.pr.2839.9c3b21ca34d760070b76424327061e6b4ad26f05",
"graphql-relay": "^0.10.0",
"graphql-scalars": "^1.17.0",
"graphql-ws": "^5.8.2",
"typescript": "^4.6.3",
"ws": "^8.7.0"
},
"devDependencies": {
"@types/graphql-relay": "^0.7.0",
"@types/node": "^12.11.1",
"@types/ws": "^8.5.3",
"@vercel/ncc": "^0.33.4",
"husky": "^7.0.4"
}
}