mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
115 lines
2.7 KiB
JSON
115 lines
2.7 KiB
JSON
{
|
|
"name": "log4js",
|
|
"version": "6.4.2",
|
|
"description": "Port of Log4js to work with node.",
|
|
"homepage": "https://log4js-node.github.io/log4js-node/",
|
|
"files": [
|
|
"lib",
|
|
"types",
|
|
"CHANGELOG.md",
|
|
"SECURITY.md"
|
|
],
|
|
"keywords": [
|
|
"logging",
|
|
"log",
|
|
"log4j",
|
|
"node"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"main": "./lib/log4js",
|
|
"types": "./types/log4js.d.ts",
|
|
"contributors": [
|
|
"Gareth Jones <gareth.nomiddlename@gmail.com>",
|
|
"Lam Wei Li <lam_wei_li@hotmail.com>"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/log4js-node/log4js-node.git"
|
|
},
|
|
"bugs": {
|
|
"url": "http://github.com/log4js-node/log4js-node/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0"
|
|
},
|
|
"scripts": {
|
|
"pretest": "eslint \"lib/**/*.js\" \"test/**/*.js\"",
|
|
"test": "tap \"test/tap/**/*.js\" --cov --timeout=45",
|
|
"typings": "tsc -p types/tsconfig.json",
|
|
"codecov": "tap \"test/tap/**/*.js\" --cov --coverage-report=lcov && codecov"
|
|
},
|
|
"directories": {
|
|
"test": "test",
|
|
"lib": "lib"
|
|
},
|
|
"dependencies": {
|
|
"date-format": "^4.0.4",
|
|
"debug": "^4.3.3",
|
|
"flatted": "^3.2.5",
|
|
"rfdc": "^1.3.0",
|
|
"streamroller": "^3.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"@log4js-node/sandboxed-module": "^2.2.1",
|
|
"callsites": "^3.1.0",
|
|
"codecov": "^3.8.3",
|
|
"deep-freeze": "0.0.1",
|
|
"eslint": "^8.10.0",
|
|
"eslint-config-airbnb-base": "^13.2.0",
|
|
"eslint-config-prettier": "^8.4.0",
|
|
"eslint-import-resolver-node": "^0.3.6",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"fs-extra": "^10.0.1",
|
|
"husky": "^7.0.4",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^2.5.1",
|
|
"proxyquire": "^2.1.3",
|
|
"tap": "^15.1.6",
|
|
"typescript": "^4.6.2",
|
|
"validate-commit-msg": "^2.14.0"
|
|
},
|
|
"browser": {
|
|
"os": false
|
|
},
|
|
"config": {
|
|
"validate-commit-msg": {
|
|
"types": [
|
|
"feat",
|
|
"fix",
|
|
"docs",
|
|
"style",
|
|
"refactor",
|
|
"example",
|
|
"perf",
|
|
"test",
|
|
"chore",
|
|
"revert"
|
|
],
|
|
"warnOnFail": false,
|
|
"maxSubjectLength": 72,
|
|
"subjectPattern": ".+",
|
|
"subjectPatternErrorMsg": "subject does not match subject pattern!",
|
|
"helpMessage": "\n# allowed type: feat, fix, docs, style, refactor, example, perf, test, chore, revert\n# subject no more than 50 chars\n# a body line no more than 72 chars"
|
|
}
|
|
},
|
|
"tap": {
|
|
"check-coverage": false
|
|
},
|
|
"nyc": {
|
|
"all": true,
|
|
"include": [
|
|
"lib/**/*.js"
|
|
],
|
|
"require": [
|
|
"./test/sandbox-coverage"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "validate-commit-msg",
|
|
"pre-push": "npm test && npm run typings"
|
|
}
|
|
}
|
|
}
|