-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.58 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
{
"name": "express-performance-monitor",
"description": "Realtime monitor for Express server appliations",
"version": "2024.1.11",
"main": "./dist/esm/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"workspaces": {
"packages": [
"example",
"src"
]
},
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./*": {
"import": "./*",
"require": "./*"
}
},
"type": "module",
"license": "MIT",
"author": {
"name": "Simone Gauli",
"email": "simonegauli@gmail.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Pnlvfx/express-performance-monitor.git"
},
"scripts": {
"generate:package.json": "tsx ./tools/generate-commonjs-package-json.ts dist/cjs/package.json",
"generate:event-loop-stats": "tsx ./tools/generate-event-loop-types.ts src/types/event-loop-stats.ts",
"update-types": "npm run generate:event-loop-stats",
"dev": "tsc -w & IS_LOCAL=true node --watch .",
"lint": "eslint ./src",
"build": "rimraf dist && npm run lint && npm run build:esm && npm run build:cjs && npm run generate:package.json",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --moduleResolution node --outDir dist/cjs",
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run lint",
"test": "rimraf coverage && jest --coverage"
},
"files": [
"dist",
"LICENSE",
"README.md",
"public"
],
"keywords": [
"node",
"status",
"monitoring",
"express",
"charts",
"performance"
],
"dependencies": {
"debug": "^4.3.5",
"handlebars": "^4.7.8",
"on-headers": "^1.0.2",
"pidusage": "^3.0.2"
},
"peerDependencies": {
"socket.io": "^4.7.5"
},
"optionalDependencies": {
"event-loop-stats": "^1.4.1"
},
"devDependencies": {
"@eslint/js": "^9.7.0",
"@types/debug": "^4.1.12",
"@types/eslint__js": "^8.42.3",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.11",
"@types/on-headers": "^1.0.3",
"@types/pidusage": "^2.0.5",
"eslint": "^9.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-sonarjs": "^1.0.3",
"eslint-plugin-unicorn": "^54.0.0",
"event-loop-stats": "^1.4.1",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.2",
"tsx": "^4.16.2",
"typescript": "^5.5.3",
"typescript-eslint": "^8.0.0-alpha.44"
}
}