-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
51 lines (51 loc) · 1.41 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
{
"name": "pm2-guarded",
"version": "0.11.0",
"description": "pm2-guarded 是一个 pm2 插件,通过将 pmx 获取运行应用的 metrics value 并整合上报到 Influxdb,同时通过 Grafana 可以进行展示。",
"main": "dist/index.js",
"dependencies": {
"influx": "^5.7.0"
},
"files": [
"dist"
],
"devDependencies": {
"@types/node": "^14.14.31",
"prettier": "^2.2.1",
"typescript": "^4.2.2"
},
"scripts": {
"dev": "pm2 kill && pm2 install . && pm2 logs 0",
"test": "echo \"Error: no test specified\" && exit 1",
"tag": "git tag v`node -p 'require(\"./package\").version'`",
"format": "prettier --write \"src/**/*.ts\"",
"compile": "tsc && prettier --single-quote --write \"dist/**/*.{js,ts}\"",
"prepublishOnly": "npm run format && npm run compile",
"postpublish": "npm run tag && git push && git push --tags"
},
"prettier": {
"printWidth": 120,
"trailingComma": "es5"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yourtion/pm2-guarded.git"
},
"keywords": [
"pm2",
"guarded"
],
"author": "Yourtion <yourtion@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/yourtion/pm2-guarded/issues"
},
"homepage": "https://github.com/yourtion/pm2-guarded#readme",
"apps": [
{
"merge_logs": true,
"max_memory_restart": "200M",
"script": "dist/index.js"
}
]
}