-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
86 lines (86 loc) · 2.16 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
{
"name": "nightingale-winston-adapter",
"version": "15.0.0",
"description": "Winston adapter handler for nightingale",
"keywords": [
"nightingale",
"nightingale-handler"
],
"author": "Christophe Hurpeau <[email protected]> (http://christophe.hurpeau.com/)",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/christophehurpeau/nightingale.git",
"directory": "packages/nightingale-winston-adapter"
},
"homepage": "https://github.com/christophehurpeau/nightingale",
"type": "module",
"engines": {
"node": ">=20.9.0"
},
"sideEffects": false,
"main": "./dist/index-node20.mjs",
"types": "./dist/definitions/index.d.ts",
"module": "./dist/index-browser.es.js",
"browser": "./dist/index-browser.es.js",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/definitions/index.d.ts",
"node": {
"import": "./dist/index-node20.mjs"
},
"browser": {
"import": "./dist/index-browser.es.js"
}
}
},
"files": [
"src",
"dist"
],
"scripts": {
"build": "yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
"build:definitions": "tsc -p tsconfig.json",
"clean": "yarn clean:build",
"clean:build": "pob-babel-clean-out dist",
"lint": "yarn run lint:eslint",
"lint:eslint": "yarn ../.. run eslint --quiet packages/nightingale-winston-adapter",
"watch": "yarn clean:build && rollup --config rollup.config.mjs --watch"
},
"browserslist": {
"production": [
"defaults",
"> 0.2%",
"not ie < 12",
"not safari < 10",
"not ios_saf < 10"
]
},
"pob": {
"bundler": "rollup-babel",
"entries": [
"index"
],
"envs": [
{
"target": "node",
"version": "20"
},
{
"target": "browser"
}
]
},
"prettier": "@pob/root/prettier-config",
"dependencies": {
"nightingale-level-names": "15.0.0",
"nightingale-types": "15.0.0"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/preset-env": "7.26.0",
"pob-babel": "42.2.0",
"typescript": "5.7.2"
}
}