package.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. {
  2. "name": "eslint",
  3. "version": "8.30.0",
  4. "author": "Nicholas C. Zakas <nicholas+npm@nczconsulting.com>",
  5. "description": "An AST-based pattern checker for JavaScript.",
  6. "bin": {
  7. "eslint": "./bin/eslint.js"
  8. },
  9. "main": "./lib/api.js",
  10. "exports": {
  11. "./package.json": "./package.json",
  12. ".": "./lib/api.js",
  13. "./use-at-your-own-risk": "./lib/unsupported-api.js"
  14. },
  15. "scripts": {
  16. "build:docs:update-links": "node tools/fetch-docs-links.js",
  17. "release:generate:latest": "node Makefile.js generateRelease",
  18. "release:generate:alpha": "node Makefile.js generatePrerelease -- alpha",
  19. "release:generate:beta": "node Makefile.js generatePrerelease -- beta",
  20. "release:publish": "node Makefile.js publishRelease",
  21. "release:generate:rc": "node Makefile.js generatePrerelease -- rc",
  22. "build:site": "node Makefile.js gensite",
  23. "build:webpack": "node Makefile.js webpack",
  24. "lint": "node Makefile.js lint",
  25. "lint:fix": "node Makefile.js lint -- fix",
  26. "lint:docs:js": "node Makefile.js lintDocsJS",
  27. "lint:fix:docs:js": "node Makefile.js lintDocsJS -- fix",
  28. "test": "node Makefile.js test",
  29. "test:cli": "mocha",
  30. "test:fuzz": "node Makefile.js fuzz",
  31. "test:performance": "node Makefile.js perf"
  32. },
  33. "gitHooks": {
  34. "pre-commit": "lint-staged"
  35. },
  36. "lint-staged": {
  37. "*.js": "eslint --fix",
  38. "*.md": "markdownlint --fix",
  39. "docs/src/rules/*.md": [
  40. "node tools/fetch-docs-links.js",
  41. "git add docs/src/_data/further_reading_links.json"
  42. ],
  43. "docs/**/*.svg": "npx svgo -r --multipass"
  44. },
  45. "files": [
  46. "LICENSE",
  47. "README.md",
  48. "bin",
  49. "conf",
  50. "lib",
  51. "messages"
  52. ],
  53. "repository": "eslint/eslint",
  54. "funding": "https://opencollective.com/eslint",
  55. "homepage": "https://eslint.org",
  56. "bugs": "https://github.com/eslint/eslint/issues/",
  57. "dependencies": {
  58. "@eslint/eslintrc": "^1.4.0",
  59. "@humanwhocodes/config-array": "^0.11.8",
  60. "@humanwhocodes/module-importer": "^1.0.1",
  61. "@nodelib/fs.walk": "^1.2.8",
  62. "ajv": "^6.10.0",
  63. "chalk": "^4.0.0",
  64. "cross-spawn": "^7.0.2",
  65. "debug": "^4.3.2",
  66. "doctrine": "^3.0.0",
  67. "escape-string-regexp": "^4.0.0",
  68. "eslint-scope": "^7.1.1",
  69. "eslint-utils": "^3.0.0",
  70. "eslint-visitor-keys": "^3.3.0",
  71. "espree": "^9.4.0",
  72. "esquery": "^1.4.0",
  73. "esutils": "^2.0.2",
  74. "fast-deep-equal": "^3.1.3",
  75. "file-entry-cache": "^6.0.1",
  76. "find-up": "^5.0.0",
  77. "glob-parent": "^6.0.2",
  78. "globals": "^13.19.0",
  79. "grapheme-splitter": "^1.0.4",
  80. "ignore": "^5.2.0",
  81. "import-fresh": "^3.0.0",
  82. "imurmurhash": "^0.1.4",
  83. "is-glob": "^4.0.0",
  84. "is-path-inside": "^3.0.3",
  85. "js-sdsl": "^4.1.4",
  86. "js-yaml": "^4.1.0",
  87. "json-stable-stringify-without-jsonify": "^1.0.1",
  88. "levn": "^0.4.1",
  89. "lodash.merge": "^4.6.2",
  90. "minimatch": "^3.1.2",
  91. "natural-compare": "^1.4.0",
  92. "optionator": "^0.9.1",
  93. "regexpp": "^3.2.0",
  94. "strip-ansi": "^6.0.1",
  95. "strip-json-comments": "^3.1.0",
  96. "text-table": "^0.2.0"
  97. },
  98. "devDependencies": {
  99. "@babel/core": "^7.4.3",
  100. "@babel/preset-env": "^7.4.3",
  101. "babel-loader": "^8.0.5",
  102. "c8": "^7.12.0",
  103. "chai": "^4.0.1",
  104. "cheerio": "^0.22.0",
  105. "common-tags": "^1.8.0",
  106. "core-js": "^3.1.3",
  107. "ejs": "^3.0.2",
  108. "eslint": "file:.",
  109. "eslint-config-eslint": "file:packages/eslint-config-eslint",
  110. "eslint-plugin-eslint-comments": "^3.2.0",
  111. "eslint-plugin-eslint-plugin": "^4.4.0",
  112. "eslint-plugin-internal-rules": "file:tools/internal-rules",
  113. "eslint-plugin-jsdoc": "^38.1.6",
  114. "eslint-plugin-n": "^15.2.4",
  115. "eslint-plugin-unicorn": "^42.0.0",
  116. "eslint-release": "^3.2.0",
  117. "eslump": "^3.0.0",
  118. "esprima": "^4.0.1",
  119. "fast-glob": "^3.2.11",
  120. "fs-teardown": "^0.1.3",
  121. "glob": "^7.1.6",
  122. "got": "^11.8.3",
  123. "gray-matter": "^4.0.3",
  124. "karma": "^6.1.1",
  125. "karma-chrome-launcher": "^3.1.0",
  126. "karma-mocha": "^2.0.1",
  127. "karma-mocha-reporter": "^2.2.5",
  128. "karma-webpack": "^5.0.0",
  129. "lint-staged": "^11.0.0",
  130. "load-perf": "^0.2.0",
  131. "markdownlint": "^0.25.1",
  132. "markdownlint-cli": "^0.31.1",
  133. "marked": "^4.0.8",
  134. "memfs": "^3.0.1",
  135. "metascraper": "^5.25.7",
  136. "metascraper-description": "^5.25.7",
  137. "metascraper-image": "^5.29.3",
  138. "metascraper-logo": "^5.25.7",
  139. "metascraper-logo-favicon": "^5.25.7",
  140. "metascraper-title": "^5.25.7",
  141. "mocha": "^8.3.2",
  142. "mocha-junit-reporter": "^2.0.0",
  143. "node-polyfill-webpack-plugin": "^1.0.3",
  144. "npm-license": "^0.3.3",
  145. "pirates": "^4.0.5",
  146. "progress": "^2.0.3",
  147. "proxyquire": "^2.0.1",
  148. "puppeteer": "^13.7.0",
  149. "recast": "^0.20.4",
  150. "regenerator-runtime": "^0.13.2",
  151. "semver": "^7.3.5",
  152. "shelljs": "^0.8.2",
  153. "sinon": "^11.0.0",
  154. "temp": "^0.9.0",
  155. "webpack": "^5.23.0",
  156. "webpack-cli": "^4.5.0",
  157. "yorkie": "^2.0.0"
  158. },
  159. "keywords": [
  160. "ast",
  161. "lint",
  162. "javascript",
  163. "ecmascript",
  164. "espree"
  165. ],
  166. "license": "MIT",
  167. "engines": {
  168. "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
  169. }
  170. }