Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.95 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.95 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "anyhow",
"version": "4.0.0",
"description": "Drop-in wrapper for Winston, Bunyan, Pino and console logs.",
"keywords": [
"anyhow",
"bunyan",
"console",
"gcloud",
"log",
"logger",
"logging",
"pino",
"syslog",
"stackdriver",
"winston"
],
"author": "Igor Ramadas <igor@ramadas.net>",
"subdomain": "anyhow",
"license": "MIT",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/esm.d.mts",
"default": "./lib/esm.mjs"
},
"require": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
}
},
"./lib/*.js": "./lib/*.js",
"./lib/*.d.ts": "./lib/*.d.ts",
"./lib/esm.mjs": "./lib/esm.mjs",
"./lib/*": "./lib/*.js",
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "https://github.com/igoramadas/anyhow.git"
},
"engines": {
"bun": ">= 1.3",
"node": ">= 22.0"
},
"scripts": {
"build": "tsc -p tsconfig-build.json",
"build-test": "tsc -p tsconfig-test.json",
"clean": "rm -rf ./lib && rm -rf ./lib-test && rm -rf ./coverage",
"prebuild": "rm -rf ./lib ./lib-test",
"test": "npm run build && npm run build-test && mocha ./test/*.ts && node ./test/test-esm.mjs",
"test-bun": "npm run build && npm run build-test && bun --bun run mocha ./test/*.ts && bun ./test/test-esm.mjs",
"test-coverage": "nyc --reporter=lcov npm test"
},
"devDependencies": {
"@google-cloud/logging": "^12.1.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/node": "^26.6.4",
"axios": "^1.20.0",
"bent": "^7.3.12",
"bunyan": "^1.8.15",
"chai": "^4.5.0",
"chalk": "^6.0.1",
"coveralls": "^3.1.1",
"mocha": "^12.0.3",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^18.0.0",
"pino": "^10.4.0",
"source-map-support": "^0.5.21",
"supertest": "^7.3.1",
"tsx": "^4.23.15",
"typescript": "^7.0.2",
"winston": "^3.19.0"
},
"prettier": {
"trailingComma": "none",
"tabWidth": 4,
"semi": false,
"singleQuote": false,
"arrowParens": "always",
"bracketSpacing": false,
"printWidth": 250
},
"mocha": {
"timeout": 5000,
"exit": true,
"recursive": true,
"require": [
"test/mocha.env",
"tsx/cjs",
"source-map-support/register"
]
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"include": [
"src/**/*"
],
"temp-dir": "./coverage",
"reporter": [
"lcov",
"text"
]
}
}