-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.04 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
{
"name": "@bonniernews/logger",
"version": "0.0.9",
"description": "Some simple functions to use Trace Context for correlating logs",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"./dist"
],
"exports": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/BonnierNews/logger.git"
},
"bugs": {
"url": "https://github.com/BonnierNews/logger/issues"
},
"homepage": "https://github.com/BonnierNews/logger#readme",
"scripts": {
"build": "tsup",
"lint": "eslint . --cache && npm run typecheck",
"format": "prettier --write . && eslint --fix .",
"typecheck": "tsc --noEmit",
"test": "mocha --exit --reporter ${REPORTER:-spec}",
"coverage": "c8 npm test && c8 check-coverage",
"local-coverage": "c8 --reporter html npm test && c8 check-coverage || open ./coverage/index.html",
"prepublishOnly": "npm run build"
},
"author": "Bonnier News",
"license": "MIT",
"peerDependencies": {
"@types/express": "^4.0.0 || ^5.0.0"
},
"peerDependenciesMeta": {
"@types/express": {
"optional": true
}
},
"dependencies": {
"gcp-metadata": "^6.1.0",
"pino": "^9.5.0",
"pino-pretty": "^13.0.0"
},
"devDependencies": {
"@bonniernews/eslint-config": "^1.2.0",
"@bonniernews/tsconfig": "^0.0.2",
"@types/chai": "^5.0.0",
"@types/express": "^5.0.0",
"@types/mocha": "^10.0.8",
"@types/node": "^22.9.0",
"@types/sinon": "^17.0.3",
"c8": "^10.1.2",
"chai": "^5.1.1",
"eslint": "^8.57.1",
"express": "^4.21.0",
"mocha": "^11.0.0",
"mocha-cakes-2": "^3.3.0",
"prettier": "^3.3.3",
"sinon": "^19.0.2",
"tsup": "^8.3.5",
"tsx": "^4.19.1",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0"
},
"engines": {
"node": ">=18"
}
}