-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.35 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
42
43
44
{
"name": "graphql-server",
"version": "1.0.0",
"description": "GraphQL server bootstrap in typescript with yoga graphql",
"license": "MIT",
"main": "src/index.ts",
"scripts": {
"start": "npm run codegen && DEBUG=server:graphql* ts-node src/index.ts",
"dev": "./node_modules/nodemon/bin/nodemon.js -e ts,json,graphql",
"test": "NODE_ENV=dev jest",
"format": "prettier --write 'src/*.{ts,json,graphql}'",
"precommit": "lint-staged",
"prepush": "npm run ts-check",
"ts-check": "tsc -p . --noEmit",
"codegen": "apollo-codegen introspect-schema ./src/schema.graphql --output ./schema.json && CODEGEN_RESOLVERS=false gql-gen -f schema.json -t ts --out src/schema.ts"
},
"lint-staged": {
"*.{json,d.ts,ts,graphql}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"axios": "^0.18.0",
"dataloader": "^1.4.0",
"graphql-yoga": "^1.14.8",
"ts-node": "^6.0.3"
},
"devDependencies": {
"@types/jest": "^23.1.0",
"apollo-codegen": "^0.20.0",
"graphql-code-generator": "^0.9.3",
"graphql-codegen-typescript-template": "^0.9.4",
"graphql-request": "^1.6.0",
"graphql-tag": "^2.9.2",
"husky": "^0.14.3",
"jest": "^23.1.0",
"lint-staged": "^7.2.0",
"nodemon": "^1.17.5",
"prettier": "^1.13.5",
"ts-jest": "^22.4.6",
"typescript": "^2.9.2"
}
}