-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.08 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": "@byu-oit/logger",
"version": "2.0.0",
"description": "Default configuration for pino logger",
"engines": {
"node": ">=20"
},
"contributors": [
{
"name": "Scott Hutching",
"email": "[email protected]"
},
{
"name": "Spencer Tuft",
"email": "[email protected]"
}
],
"type": "module",
"main": "./dist/cjs/logger.js",
"types": "./dist/cjs/logger.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/logger.d.ts",
"default": "./dist/esm/logger.js"
},
"require": {
"types": "./dist/cjs/logger.d.ts",
"default": "./dist/cjs/logger.js"
}
}
},
"files": [
"dist"
],
"scripts": {
"build": "npm run clean && concurrently \"npm:build:*\" -c cyanBright",
"build:cjs": "tsc -p tsconfig.cjs.json && echo-cli \"{\\\"type\\\": \\\"commonjs\\\"}\" > dist/cjs/package.json",
"build:esm": "tsc -p tsconfig.json && echo-cli \"{\\\"type\\\": \\\"module\\\"}\" > dist/esm/package.json",
"clean": "rimraf dist",
"coverage": "c8 npm run test",
"lint": "npx ts-standard | snazzy",
"lint:fix": "npx ts-standard --fix | snazzy",
"test": "node --import tsimp --test test/*.spec.ts",
"prepublishOnly": "npm run build"
},
"author": "Brigham Young University - Office of Information Technology",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/byu-oit/logger.git"
},
"bugs": {
"url": "https://github.com/byu-oit/logger/issues"
},
"dependencies": {
"deepmerge": "^4.3.1",
"pino": "^9.3.2",
"pino-http": "^10.2.0"
},
"devDependencies": {
"@tsconfig/node-lts": "^20.1.3",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^22.7.5",
"c8": "^10.1.2",
"concurrently": "^8.2.2",
"echo-cli": "^2.0.0",
"pino-pretty": "^11.2.2",
"rimraf": "^6.0.1",
"snazzy": "^9.0.0",
"ts-standard": "^12.0.2",
"tsimp": "^2.0.11",
"typescript": "^5.5.4"
},
"optionalDependencies": {
"pino-pretty": ">=7"
}
}