| { | |
| "name": "log4js", | |
| "version": "6.4.5", | |
| "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.7", | |
| "debug": "^4.3.4", | |
| "flatted": "^3.2.5", | |
| "rfdc": "^1.3.0", | |
| "streamroller": "^3.0.7" | |
| }, | |
| "devDependencies": { | |
| "@log4js-node/sandboxed-module": "^2.2.1", | |
| "callsites": "^3.1.0", | |
| "codecov": "^3.8.3", | |
| "deep-freeze": "0.0.1", | |
| "eslint": "^8.13.0", | |
| "eslint-config-airbnb-base": "^15.0.0", | |
| "eslint-config-prettier": "^8.5.0", | |
| "eslint-import-resolver-node": "^0.3.6", | |
| "eslint-plugin-import": "^2.26.0", | |
| "eslint-plugin-prettier": "^4.0.0", | |
| "fs-extra": "^10.0.1", | |
| "husky": "^7.0.4", | |
| "nyc": "^15.1.0", | |
| "prettier": "^2.6.0", | |
| "proxyquire": "^2.1.3", | |
| "tap": "^16.0.1", | |
| "typescript": "^4.6.3", | |
| "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" | |
| } | |
| } | |
| } |