-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 1.53 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "cwb-graphql",
"version": "1.2.0",
"main": "index.js",
"repository": "https://github.com/cettoana/cwb-graphql.git",
"author": "Hau Chen <[email protected]>",
"license": "MIT",
"scripts": {
"test": "jest",
"start": "node dist/index.js",
"build": "rm -rf ./dist && tsc",
"heroku-postbuild": "npm run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts}": [
"prettier --write",
"git add"
]
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true
},
"dependencies": {
"apollo-datasource-rest": "^0.5.0",
"apollo-server": "^2.3.1",
"apollo-server-testing": "^2.3.1",
"dotenv": "^8.0.0",
"graphql": "^14.0.2",
"nock": "^10.0.6",
"winston": "^3.1.0"
},
"devDependencies": {
"@types/dotenv": "6.1.1",
"@types/graphql": "14.2.3",
"@types/jest": "24.9.1",
"@types/nock": "10.0.3",
"@types/node": "10.14.22",
"husky": "3.0.8",
"jest": "24.8.0",
"lint-staged": "9.4.1",
"prettier": "1.18.2",
"ts-jest": "24.1.0",
"tslint": "5.18.0",
"tslint-config-prettier": "1.18.0",
"tslint-plugin-prettier": "2.0.1",
"typescript": "3.6.2"
},
"engines": {
"node": ">=8.9.1"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"src/__tests__/data/",
"src/__tests__/helpers/"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true
}
}