Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.52 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.52 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
{
"name": "@mccann-hub/express-log-smith",
"version": "0.1.5",
"publishConfig": {
"access": "public"
},
"main": "./dist/cjs/index.js",
"scripts": {
"test": "cross-env TSX_TSCONFIG_PATH='./tsconfig.test.json' mocha",
"build:cjs": "tsc --project tsconfig.commonjs.json && tsc-alias -p tsconfig.commonjs.json",
"build:esm": "tsc --project tsconfig.esm.json && tsc-alias -p tsconfig.esm.json && node -e \"require('fs').writeFileSync('dist/esm/package.json', JSON.stringify({ type: 'module' }))\"",
"build": "npm run build:cjs && npm run build:esm",
"prepublishOnly": "npm run build",
"clean": "node -e \"require('fs').rmSync('./dist', { recursive: true, force: true })\"",
"prebuild": "npm run clean",
"lint": "eslint . --ext .ts,.js --fix",
"check:package": "npm run build && node scripts/check-package.mjs"
},
"keywords": [
"express",
"express-middleware",
"logging",
"structured-logging",
"request-logging",
"response-logging",
"correlation-id",
"trace-id",
"span-id",
"distributed-tracing",
"morgan",
"logger",
"observability",
"contextual-logger"
],
"author": "jabez007",
"license": "ISC",
"description": "A middleware library for Express.js, providing structured request/response logging, unique ID generation, and contextual loggers for enhanced observability in your applications.",
"devDependencies": {
"@types/chai": "^5.0.1",
"@types/express": "^5.0.0",
"@types/mocha": "^10.0.10",
"@types/morgan": "^1.9.9",
"@types/node": "^22.10.1",
"@types/sinon": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"chai": "^5.1.2",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"mocha": "^12.0.3",
"node-mocks-http": "^1.16.1",
"sinon": "^22.1.0",
"tsc-alias": "^1.8.10",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
},
"types": "./dist/cjs/index.d.ts",
"module": "./dist/esm/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"dist/**/*",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/McCann-Hub/express-log-smith.git"
},
"bugs": {
"url": "https://github.com/McCann-Hub/express-log-smith/issues"
},
"homepage": "https://github.com/McCann-Hub/express-log-smith#readme",
"dependencies": {
"express": "^4.22.3",
"morgan": "^1.12.1",
"uuid": "^11.1.1"
}
}