package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {
  2. "author": {
  3. "email": "gajus@gajus.com",
  4. "name": "Gajus Kuizinas",
  5. "url": "http://gajus.com"
  6. },
  7. "dependencies": {
  8. "@es-joy/jsdoccomment": "~0.41.0",
  9. "are-docs-informative": "^0.0.2",
  10. "comment-parser": "1.4.1",
  11. "debug": "^4.3.4",
  12. "escape-string-regexp": "^4.0.0",
  13. "esquery": "^1.5.0",
  14. "is-builtin-module": "^3.2.1",
  15. "semver": "^7.5.4",
  16. "spdx-expression-parse": "^4.0.0"
  17. },
  18. "description": "JSDoc linting rules for ESLint.",
  19. "devDependencies": {
  20. "@babel/cli": "^7.23.4",
  21. "@babel/core": "^7.23.7",
  22. "@babel/eslint-parser": "^7.23.3",
  23. "@babel/node": "^7.22.19",
  24. "@babel/plugin-syntax-class-properties": "^7.12.13",
  25. "@babel/plugin-transform-flow-strip-types": "^7.23.3",
  26. "@babel/preset-env": "^7.23.7",
  27. "@babel/register": "^7.23.7",
  28. "@es-joy/escodegen": "^3.5.1",
  29. "@es-joy/jsdoc-eslint-parser": "^0.21.1",
  30. "@hkdobrev/run-if-changed": "^0.3.1",
  31. "@semantic-release/commit-analyzer": "^11.1.0",
  32. "@semantic-release/github": "^9.2.6",
  33. "@semantic-release/npm": "^11.0.2",
  34. "@types/chai": "^4.3.11",
  35. "@types/debug": "^4.1.12",
  36. "@types/eslint": "^8.56.0",
  37. "@types/esquery": "^1.5.3",
  38. "@types/estree": "^1.0.5",
  39. "@types/json-schema": "^7.0.15",
  40. "@types/lodash.defaultsdeep": "^4.6.9",
  41. "@types/mocha": "^10.0.6",
  42. "@types/node": "^20.10.6",
  43. "@types/semver": "^7.5.6",
  44. "@types/spdx-expression-parse": "^3.0.5",
  45. "@typescript-eslint/parser": "^6.16.0",
  46. "babel-plugin-add-module-exports": "^1.0.4",
  47. "babel-plugin-istanbul": "^6.1.1",
  48. "camelcase": "^6.3.0",
  49. "chai": "^4.3.10",
  50. "cross-env": "^7.0.3",
  51. "decamelize": "^5.0.1",
  52. "eslint": "9.0.0-alpha.0",
  53. "eslint-config-canonical": "~42.8.0",
  54. "espree": "^9.6.1",
  55. "gitdown": "^3.1.5",
  56. "glob": "^10.3.10",
  57. "globals": "^13.24.0",
  58. "husky": "^8.0.3",
  59. "jsdoc-type-pratt-parser": "^4.0.0",
  60. "json-schema": "^0.4.0",
  61. "lint-staged": "^15.2.0",
  62. "lodash.defaultsdeep": "^4.6.1",
  63. "mocha": "^10.2.0",
  64. "nyc": "^15.1.0",
  65. "open-editor": "^3.0.0",
  66. "rimraf": "^5.0.5",
  67. "semantic-release": "^22.0.12",
  68. "typescript": "5.3.3"
  69. },
  70. "engines": {
  71. "node": ">=16"
  72. },
  73. "keywords": [
  74. "eslint",
  75. "plugin",
  76. "jsdoc"
  77. ],
  78. "license": "BSD-3-Clause",
  79. "lint-staged": {
  80. ".eslintignore": [
  81. "npm run lint-fix",
  82. "git add ."
  83. ],
  84. "*.js": "npm run lint-arg -- --fix"
  85. },
  86. "main": "./dist/index.js",
  87. "types": "./dist/index.d.ts",
  88. "name": "eslint-plugin-jsdoc",
  89. "mocha": {
  90. "require": [
  91. "@babel/register"
  92. ],
  93. "reporter": "dot",
  94. "recursive": true,
  95. "timeout": 12000
  96. },
  97. "nyc": {
  98. "branches": 100,
  99. "check-coverage": true,
  100. "exclude": [
  101. "src/rules/checkExamples.js"
  102. ],
  103. "functions": 100,
  104. "include": [
  105. "src/"
  106. ],
  107. "instrument": false,
  108. "lines": 100,
  109. "reporter": "text-summary",
  110. "require": [
  111. "@babel/register"
  112. ],
  113. "sourceMap": false,
  114. "statements": 100
  115. },
  116. "peerDependencies": {
  117. "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0"
  118. },
  119. "repository": {
  120. "type": "git",
  121. "url": "https://github.com/gajus/eslint-plugin-jsdoc"
  122. },
  123. "run-if-changed": {
  124. "package-lock.json": "npm run install-offline"
  125. },
  126. "scripts": {
  127. "tsc": "tsc",
  128. "tsc-build": "tsc -p tsconfig-prod.json",
  129. "build": "rimraf ./dist && cross-env NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --ignore ./src/bin/*.js --no-copy-ignored && pnpm tsc-build",
  130. "check-docs": "babel-node ./src/bin/generateDocs.js --check",
  131. "create-docs": "npm run create-options && babel-node ./src/bin/generateDocs.js",
  132. "create-rule": "babel-node ./src/bin/generateRule.js",
  133. "create-options": "node ./src/bin/generateOptions.mjs",
  134. "install-offline": "pnpm install --prefer-offline --no-audit",
  135. "lint": "npm run lint-arg -- .",
  136. "lint-arg": "eslint --report-unused-disable-directives=false",
  137. "lint-fix": "npm run lint-arg -- --fix .",
  138. "prepare": "husky install",
  139. "test-no-cov": "cross-env BABEL_ENV=test mocha",
  140. "test": "nyc npm run test-no-cov",
  141. "test-cov": "cross-env TIMING=1 nyc --reporter text npm run test-no-cov",
  142. "test-index": "npm run test-no-cov -- test/rules/index.js"
  143. },
  144. "version": "46.10.1"
  145. }