-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 2.43 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
{
"name": "@yunnysunny/request-logging",
"version": "0.17.0",
"description": "Print the express request log to console and save it to kafka when required, and even can send alram message when the response code greater than 500.",
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
"module": "dist/esm/index.js",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"scripts": {
"test": "nyc mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"release": "git push && release-to-github-with-changelog",
"doc": "typedoc",
"prebuild": "rimraf dist",
"build:cjs": "tsc --project tsconfig-build-cjs.json",
"build:esm": "tsc --project tsconfig-build-esm.json",
"build": "npm run build:cjs && npm run build:esm"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/yunnysunny/request-log.git"
},
"keywords": [
"express",
"request",
"log",
"kafka",
"alarm"
],
"author": "yunnysunny",
"license": "MIT",
"bugs": {
"url": "https://github.com/yunnysunny/request-log/issues"
},
"homepage": "https://github.com/yunnysunny/request-log#readme",
"nyc": {
"include": [
"lib/**/*.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"text",
"html"
],
"sourceMap": true,
"instrument": true
},
"devDependencies": {
"@types/chai": "^4.3.17",
"@types/express": "^4.17.13",
"@types/express-session": "^1.18.0",
"@types/ip": "^1.1.3",
"@types/mocha": "^10.0.7",
"@types/node": "^22.1.0",
"@types/supertest": "^6.0.2",
"body-parser": "^1.20.2",
"chai": "^4.1.2",
"config-settings": "^0.2.1",
"connect-multiparty": "^2.2.0",
"cookie-parser": "^1.4.6",
"coveralls": "^3.0.2",
"express": "^4.16.3",
"express-session": "^1.18.0",
"kafkajs": "^1.16.0",
"mocha": "^9.2.2",
"mongoose": "^6.13.0",
"node-slogger": "^3.0.0",
"nyc": "^13.0.1",
"queue-schedule": "^3.0.1",
"rimraf": "^5.0.10",
"supertest": "^4.0.2",
"ts-node": "^10.9.2",
"typedoc": "^0.26.5",
"typedoc-plugin-rename-defaults": "^0.7.1",
"typescript": "^5.5.4"
},
"dependencies": {
"ip": "^2.0.1"
}
}