-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
50 lines (50 loc) · 1.42 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
45
46
47
48
49
50
{
"name": "apollo-server-typescript-boilerplate",
"version": "0.0.1",
"description": "",
"keywords": [],
"author": "",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"engines": {
"node": ">=8.9"
},
"scripts": {
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write --loglevel warn",
"fix:tslint": "tslint --fix --project .",
"generate:types": "graphql-codegen --config codegen.yml",
"start": "ts-node src/index.ts",
"test": "run-s test:*",
"test:lint": "tslint --project . && prettier \"src/**/*.ts\" --list-different",
"test:types": "tsc -p . --noEmit"
},
"husky": {
"hooks": {
"pre-commit": "npm run fix && npm run test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"dependencies": {
"apollo-datasource": "^0.6.3",
"apollo-server": "^2.9.3",
"graphql": "^14.5.4"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@graphql-codegen/add": "^1.7.0",
"@graphql-codegen/cli": "^1.7.0",
"@graphql-codegen/typescript": "^1.7.0",
"@graphql-codegen/typescript-resolvers": "^1.7.0",
"@types/graphql": "^14.5.0",
"@types/node": "^12.7.3",
"husky": "^3.0.5",
"npm-run-all": "^4.1.5",
"prettier": "1.18.2",
"ts-node": "^8.3.0",
"tslint": "^5.19.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.6.2"
}
}