cross-log
Version:
A universal logging package that works in both browser and Node.js environments with environment variable configuration
61 lines (60 loc) • 1.59 kB
JSON
{
"name": "cross-log",
"version": "0.3.1",
"description": "A universal logging package that works in both browser and Node.js environments with environment variable configuration",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rollup -c --bundleConfigAsCjs",
"dev": "rollup -c -w",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build && npm test"
},
"keywords": [
"logger",
"logging",
"universal",
"browser",
"nodejs",
"typescript",
"environment",
"debug"
],
"author": "dev-ignis",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/dev-ignis/cross-log.git"
},
"homepage": "https://github.com/dev-ignis/cross-log#readme",
"bugs": {
"url": "https://github.com/dev-ignis/cross-log/issues"
},
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0",
"prettier": "^3.0.0",
"rollup": "^3.0.0",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.0.0",
"typescript": "~5.5.0"
}
}