package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "log4js",
  3. "version": "6.4.1",
  4. "description": "Port of Log4js to work with node.",
  5. "homepage": "https://log4js-node.github.io/log4js-node/",
  6. "files": [
  7. "lib",
  8. "types",
  9. "CHANGELOG.md",
  10. "SECURITY.md"
  11. ],
  12. "keywords": [
  13. "logging",
  14. "log",
  15. "log4j",
  16. "node"
  17. ],
  18. "license": "Apache-2.0",
  19. "main": "./lib/log4js",
  20. "types": "./types/log4js.d.ts",
  21. "contributors": [
  22. "Gareth Jones <gareth.nomiddlename@gmail.com>",
  23. "Lam Wei Li <lam_wei_li@hotmail.com>"
  24. ],
  25. "repository": {
  26. "type": "git",
  27. "url": "https://github.com/log4js-node/log4js-node.git"
  28. },
  29. "bugs": {
  30. "url": "http://github.com/log4js-node/log4js-node/issues"
  31. },
  32. "engines": {
  33. "node": ">=8.0"
  34. },
  35. "scripts": {
  36. "pretest": "eslint \"lib/**/*.js\" \"test/**/*.js\"",
  37. "test": "tap \"test/tap/**/*.js\" --cov --timeout=45",
  38. "typings": "tsc -p types/tsconfig.json",
  39. "codecov": "tap \"test/tap/**/*.js\" --cov --coverage-report=lcov && codecov"
  40. },
  41. "directories": {
  42. "test": "test",
  43. "lib": "lib"
  44. },
  45. "dependencies": {
  46. "date-format": "^4.0.3",
  47. "debug": "^4.3.3",
  48. "flatted": "^3.2.4",
  49. "rfdc": "^1.3.0",
  50. "streamroller": "^3.0.2"
  51. },
  52. "devDependencies": {
  53. "@log4js-node/sandboxed-module": "^2.2.1",
  54. "callsites": "^3.1.0",
  55. "codecov": "^3.8.3",
  56. "deep-freeze": "0.0.1",
  57. "eslint": "^8.7.0",
  58. "eslint-config-airbnb-base": "^13.2.0",
  59. "eslint-config-prettier": "^8.3.0",
  60. "eslint-import-resolver-node": "^0.3.6",
  61. "eslint-plugin-import": "^2.25.4",
  62. "eslint-plugin-prettier": "^4.0.0",
  63. "fs-extra": "^10.0.0",
  64. "husky": "^7.0.4",
  65. "nyc": "^15.1.0",
  66. "prettier": "^2.5.1",
  67. "proxyquire": "^2.1.3",
  68. "tap": "^14.10.7",
  69. "typescript": "^4.5.5",
  70. "validate-commit-msg": "^2.14.0"
  71. },
  72. "browser": {
  73. "os": false
  74. },
  75. "config": {
  76. "validate-commit-msg": {
  77. "types": [
  78. "feat",
  79. "fix",
  80. "docs",
  81. "style",
  82. "refactor",
  83. "example",
  84. "perf",
  85. "test",
  86. "chore",
  87. "revert"
  88. ],
  89. "warnOnFail": false,
  90. "maxSubjectLength": 72,
  91. "subjectPattern": ".+",
  92. "subjectPatternErrorMsg": "subject does not match subject pattern!",
  93. "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"
  94. }
  95. },
  96. "nyc": {
  97. "all": true,
  98. "include": [
  99. "lib/**/*.js"
  100. ],
  101. "require": [
  102. "./test/sandbox-coverage"
  103. ]
  104. },
  105. "husky": {
  106. "hooks": {
  107. "commit-msg": "validate-commit-msg",
  108. "pre-push": "npm test && npm run typings"
  109. }
  110. }
  111. }