-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
135 lines (135 loc) · 3.05 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "pm2-metrics",
"version": "1.0.47",
"description": "Produces Metrics of Pm2 of running instances.little updated version of https://github.com/burningtree/pm2-prometheus-exporter, any PR is appriciated.",
"dependencies": {
"@pm2/io": "^4.1.4",
"pino": "^5.12.0",
"pm2": "^4.4.0",
"pmx": "^1.6.7",
"prom-client": "^11.2.1"
},
"devDependencies": {
"ava": "^5.2.0",
"codecov": "^3.2.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "latest",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "latest",
"husky": "^2.2.0",
"lint-staged": "^9.2.2",
"prettier": "1.18.0",
"remark-cli": "^8.0.0",
"remark-license": "^5.0.0",
"remark-preset-github": "^0.0.13",
"xo": "latest"
},
"main": "exporter.js",
"remarkConfig": {
"plugins": [
"preset-github"
]
},
"nyc": {
"reporter": [
"text-summary",
"lcov",
"html",
"text"
],
"temp-directory": "./coverage",
"all": true,
"extension": [
".js"
],
"sourceMap": true,
"instrument": true,
"include": [
"exporter.js"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/saikatharryc/pm2-prometheus-exporter.git"
},
"config": {
"host": "0.0.0.0",
"port": 9209
},
"apps": [
{
"merge_logs": true,
"max_memory_restart": "200M",
"script": "exporter.js"
}
],
"keywords": [
"pm2",
"prometheus",
"metrics",
"pmx"
],
"author": "Jan Stránský <jan.stransky@arnal.cz>",
"contributor": [
{
"name": "Saikat Chakrabortty <@saikatharryc>",
"email": "saikatchakrabortty2@gmail.com",
"url": ""
}
],
"license": "ISC",
"bugs": {
"url": "https://github.com/saikatharryc/pm2-prometheus-exporter/issues"
},
"homepage": "https://github.com/saikatharryc/pm2-prometheus-exporter#readme",
"lint-staged": {
"*.{js,jsx,mjs,ts,tsx,css,less,scss,json,graphql}": [
"prettier --ignore-path ./.prettierignore",
"git add"
],
"*.md": [
"remark . -qfo",
"git add"
]
},
"xo": {
"ignores": [
"coverage/**"
],
"extends": "prettier",
"plugins": [
"prettier"
],
"parserOptions": {
"sourceType": "script"
},
"rules": {
"max-len": [
"error",
{
"code": 180,
"ignoreUrls": true
}
],
"camelcase": 0,
"no-param-reassign": 0,
"comma-dangle": 1,
"arrow-parens": 0,
"implicit-arrow-linebreak": 0,
"object-curly-newline": 0,
"unicorn/catch-error-name": 0,
"lines-between-class-members": 0,
"eslint-comments/no-unused-disable": 0,
"eslint-disable/no-restricted-syntax": 0,
"eslint-disable/no-continue": 0,
"unicorn/prevent-abbreviations": 0,
"global-require": 0
},
"space": true
},
"scripts": {
"lint": "xo --fix && remark . -qfo",
"precommit": "rm -rf coverage/*.* && lint-staged && npm test",
"test": "npm run lint && xo"
}
}