package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "streamroller",
  3. "version": "3.0.2",
  4. "description": "file streams that roll over when size limits, or dates are reached",
  5. "main": "lib/index.js",
  6. "files": [
  7. "lib"
  8. ],
  9. "directories": {
  10. "test": "test"
  11. },
  12. "scripts": {
  13. "codecheck": "eslint \"lib/*.js\" \"test/*.js\"",
  14. "prepublishOnly": "npm test",
  15. "pretest": "npm run codecheck",
  16. "clean": "rm -rf node_modules/",
  17. "test": "nyc --check-coverage mocha",
  18. "html-report": "nyc report --reporter=html"
  19. },
  20. "repository": {
  21. "type": "git",
  22. "url": "https://github.com/nomiddlename/streamroller.git"
  23. },
  24. "keywords": [
  25. "stream",
  26. "rolling"
  27. ],
  28. "author": "Gareth Jones <gareth.nomiddlename@gmail.com>, Huang Yichao <ihuangyichao@outlook.com>",
  29. "license": "MIT",
  30. "readmeFilename": "README.md",
  31. "gitHead": "ece35d7d86c87c04ff09e8604accae81cf36a0ce",
  32. "devDependencies": {
  33. "@commitlint/cli": "^16.0.2",
  34. "@commitlint/config-conventional": "^16.0.0",
  35. "@types/node": "^17.0.9",
  36. "eslint": "^8.7.0",
  37. "husky": "^7.0.4",
  38. "mocha": "^9.1.4",
  39. "nyc": "^15.1.0",
  40. "proxyquire": "^2.1.1",
  41. "should": "^13.2.3"
  42. },
  43. "dependencies": {
  44. "date-format": "^4.0.3",
  45. "debug": "^4.1.1",
  46. "fs-extra": "^10.0.0"
  47. },
  48. "engines": {
  49. "node": ">=8.0"
  50. },
  51. "commitlint": {
  52. "extends": [
  53. "@commitlint/config-conventional"
  54. ]
  55. },
  56. "eslintConfig": {
  57. "env": {
  58. "browser": false,
  59. "node": true,
  60. "es6": true,
  61. "mocha": true
  62. },
  63. "parserOptions": {
  64. "ecmaVersion": 8
  65. },
  66. "extends": "eslint:recommended",
  67. "rules": {
  68. "no-console": "off"
  69. }
  70. },
  71. "husky": {
  72. "hooks": {
  73. "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
  74. }
  75. },
  76. "nyc": {
  77. "include": [
  78. "lib/**"
  79. ],
  80. "branches": 100,
  81. "lines": 100,
  82. "functions": 98
  83. }
  84. }