-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.33 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 2.33 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "nexus-plugin-prometheus",
"version": "0.1.0",
"description": "A nexus-framework plugin for reporting basic GraphQL metrics through Prometheus (via prom-client)",
"keywords": [
"graphql",
"nexus",
"express",
"server",
"prom-client",
"prometheus",
"metrics"
],
"homepage": "https://github.com/haysclark/nexus-plugin-prometheus",
"bugs": {
"url": "https://github.com/haysclark/nexus-plugin-prometheus/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/haysclark/nexus-plugin-prometheus.git"
},
"license": "MIT",
"main": "dist/index.js",
"module": "dist/nexus-plugin-prometheus.esm.js",
"files": [
"dist"
],
"scripts": {
"build": "npm run build:ts",
"build:ts": "tsc",
"dev": "tsc --watch",
"format": "run-s format-doctoc format-imports format-package-json format-prettier",
"format-doctoc": "doctoc --maxlevel 3 --notitle ./README.md",
"format-imports": "import-sort --write '**/*.{js,ts}'",
"format-package-json": "sort-package-json",
"format-prettier": "prettier --write '**/*.{json,md,js,ts}'",
"prepack": "npm run build",
"test": "jest --passWithNoTests"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,ts}",
"!src/**/*.d.ts"
],
"preset": "ts-jest",
"roots": [
"<rootDir>/src"
],
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/examples/",
"/node_modules/"
]
},
"dependencies": {
"@nexus/schema": "^0.14.0",
"object.entries": "^1.1.2",
"object.fromentries": "^2.0.2"
},
"devDependencies": {
"@types/jest": "^26.0.9",
"doctoc": "^1.4.0",
"husky": "^1.3.1",
"import-sort-cli": "^6.0.0",
"import-sort-parser-typescript": "^6.0.0",
"import-sort-style-module": "^6.0.0",
"jest": "26.0.1",
"jest-environment-node": "26.0.1",
"lint-staged": "^8.1.5",
"markdownlint-cli": "^0.14.1",
"nexus": "0.25.0",
"npm-run-all": "^4.1.5",
"prettier": "2.0.5",
"prom-client": "12.0.0",
"sort-package-json": "^1.22.1",
"ts-jest": "26.1.0"
},
"peerDependencies": {
"nexus": ">=0.25.0",
"prom-client": ">=12.0.0"
}
}