-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.7 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
69
70
{
"name": "graphql-lightstep-middleware",
"version": "0.0.1",
"description": "GraphQL middleware to instrument resolvers with opentracing traces for lightstep collector",
"main": "dist/index.js",
"scripts": {
"precommit": "lint-staged",
"format": "prettier --no-config --write 'src/**/*.ts'",
"check-format": "prettier --no-config -l 'src/**/*.ts'",
"lint": "tslint --project .",
"lint-fix": "tslint --project . --fix",
"build": "tsc",
"test": "jest"
},
"author": "Aditya Pratap Singh<adisinghrajput@gmail.com>",
"license": "ISC",
"devDependencies": {
"husky": "^2.3.0",
"jest": "^24.7.1",
"lint-staged": "^8.1.5",
"nock": "^10.0.6",
"prettier": "^1.16.4",
"ts-jest": "^24.0.2",
"ts-node": "^8.0.3",
"tslint": "^5.15.0",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.1",
"typescript": "^3.4.2"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"testEnvironment": "node",
"testRegex": "(/tests/.*|(\\.|/)test)\\.ts$",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
}
},
"lint-staged": {
"linters": {
"src/*.ts": [
"tslint -p tsconfig.json --fix",
"prettier --no-config --write",
"git add"
],
"*.{js,md,json,yaml,yml}": [
"prettier --no-config --write",
"git add"
]
}
},
"dependencies": {
"@types/jest": "^24.9.1",
"@types/node": "^13.5.0",
"graphql": "^14.5.8",
"graphql-middleware": "^4.0.2",
"opentracing": "^0.14.4"
}
}