package.json 1.8 KB

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