nightingale-logger
Version:
Logger for browser and node
92 lines • 2.34 kB
JSON
{
"name": "nightingale-logger",
"version": "18.1.0",
"description": "Logger for browser and node",
"keywords": [
"nightingale"
],
"author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/christophehurpeau/nightingale.git",
"directory": "packages/nightingale-logger"
},
"homepage": "https://github.com/christophehurpeau/nightingale",
"type": "module",
"engines": {
"node": ">=22.18.0"
},
"sideEffects": false,
"main": "./dist/index-node22.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-node22.mjs"
},
"react-native": {
"import": "./dist/index-react-native.es.js"
},
"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-esbuild-clean-out dist",
"lint": "yarn run lint:eslint",
"lint:eslint": "yarn ../.. run eslint --quiet packages/nightingale-logger",
"test": "yarn ../../ run test -- packages/nightingale-logger",
"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-esbuild",
"entries": [
"index"
],
"envs": [
{
"target": "node",
"version": "22"
},
{
"target": "react-native"
},
{
"target": "browser"
}
],
"typescript": true
},
"prettier": "@pob/root/prettier-config",
"dependencies": {
"@types/node": ">=22.19.1",
"nightingale-levels": "18.0.0",
"nightingale-types": "18.0.0"
},
"devDependencies": {
"@pob/rollup-esbuild": "7.3.2",
"typescript": "5.9.3"
}
}