package.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. {
  2. "name": "eslint-plugin-import",
  3. "version": "2.32.0",
  4. "description": "Import with sanity.",
  5. "engines": {
  6. "node": ">=4"
  7. },
  8. "main": "lib/index.js",
  9. "types": "index.d.ts",
  10. "directories": {
  11. "test": "tests"
  12. },
  13. "files": [
  14. "*.md",
  15. "!{CONTRIBUTING,RELEASE}.md",
  16. "LICENSE",
  17. "docs",
  18. "lib",
  19. "config",
  20. "memo-parser/{*.js,LICENSE,*.md}",
  21. "index.d.ts"
  22. ],
  23. "scripts": {
  24. "prebuild": "rimraf lib",
  25. "build": "babel --quiet --out-dir lib src",
  26. "postbuild": "npm run copy-metafiles",
  27. "copy-metafiles": "node --require babel-register ./scripts/copyMetafiles",
  28. "watch": "npm run tests-only -- -- --watch",
  29. "pretest": "linklocal",
  30. "posttest": "eslint . && npm run update:eslint-docs -- --check && markdownlint \"**/*.md\"",
  31. "mocha": "cross-env BABEL_ENV=test nyc mocha",
  32. "tests-only": "npm run mocha tests/src",
  33. "test": "npm run tests-only",
  34. "test-compiled": "npm run prepublish && BABEL_ENV=testCompiled mocha --compilers js:babel-register tests/src",
  35. "test-all": "node --require babel-register ./scripts/testAll",
  36. "test-examples": "npm run build && npm run test-example:legacy && npm run test-example:flat && npm run test-example:v9",
  37. "test-example:legacy": "cd examples/legacy && npm install && npm run lint",
  38. "test-example:flat": "cd examples/flat && npm install && npm run lint",
  39. "test-example:v9": "cd examples/v9 && npm install && npm run lint",
  40. "test-types": "npx --package typescript@latest tsc --noEmit index.d.ts",
  41. "prepublishOnly": "safe-publish-latest && npm run build",
  42. "prepublish": "not-in-publish || npm run prepublishOnly",
  43. "preupdate:eslint-docs": "npm run build",
  44. "update:eslint-docs": "eslint-doc-generator --rule-doc-title-format prefix-name --rule-doc-section-options false --rule-list-split meta.docs.category --ignore-config stage-0 --config-emoji recommended,☑️"
  45. },
  46. "repository": {
  47. "type": "git",
  48. "url": "https://github.com/import-js/eslint-plugin-import"
  49. },
  50. "keywords": [
  51. "eslint",
  52. "eslintplugin",
  53. "eslint-plugin",
  54. "es6",
  55. "jsnext",
  56. "modules",
  57. "import",
  58. "export"
  59. ],
  60. "author": "Ben Mosher <me@benmosher.com>",
  61. "license": "MIT",
  62. "bugs": {
  63. "url": "https://github.com/import-js/eslint-plugin-import/issues"
  64. },
  65. "homepage": "https://github.com/import-js/eslint-plugin-import",
  66. "devDependencies": {
  67. "@angular-eslint/template-parser": "^13.5.0",
  68. "@eslint/import-test-order-redirect-scoped": "file:./tests/files/order-redirect-scoped",
  69. "@test-scope/some-module": "file:./tests/files/symlinked-module",
  70. "@types/eslint": "^8.56.12",
  71. "@typescript-eslint/parser": "^2.23.0 || ^3.3.0 || ^4.29.3 || ^5.10.0",
  72. "babel-cli": "^6.26.0",
  73. "babel-core": "^6.26.3",
  74. "babel-eslint": "=8.0.3 || ^8.2.6",
  75. "babel-plugin-istanbul": "^4.1.6",
  76. "babel-plugin-module-resolver": "^2.7.1",
  77. "babel-preset-airbnb": "^2.6.0",
  78. "babel-preset-flow": "^6.23.0",
  79. "babel-register": "^6.26.0",
  80. "babylon": "^6.18.0",
  81. "chai": "^4.3.10",
  82. "cross-env": "^4.0.0",
  83. "escope": "^3.6.0",
  84. "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9",
  85. "eslint-doc-generator": "^1.6.1",
  86. "eslint-import-resolver-node": "file:./resolvers/node",
  87. "eslint-import-resolver-typescript": "^1.0.2 || ^1.1.1",
  88. "eslint-import-resolver-webpack": "file:./resolvers/webpack",
  89. "eslint-import-test-order-redirect": "file:./tests/files/order-redirect",
  90. "eslint-module-utils": "file:./utils",
  91. "eslint-plugin-eslint-plugin": "^2.3.0",
  92. "eslint-plugin-import": "2.x",
  93. "eslint-plugin-json": "^2.1.2",
  94. "find-babel-config": "=1.2.0",
  95. "fs-copy-file-sync": "^1.1.1",
  96. "glob": "^7.2.3",
  97. "in-publish": "^2.0.1",
  98. "jackspeak": "=2.1.1",
  99. "jsonc-parser": "=3.2.0",
  100. "linklocal": "^2.8.2",
  101. "lodash.isarray": "^4.0.0",
  102. "markdownlint-cli": "~0.35",
  103. "mocha": "^3.5.3",
  104. "npm-which": "^3.0.1",
  105. "nyc": "^11.9.0",
  106. "redux": "^3.7.2",
  107. "rimraf": "^2.7.1",
  108. "safe-publish-latest": "^2.0.0",
  109. "sinon": "^2.4.1",
  110. "tmp": "^0.2.1",
  111. "typescript": "^2.8.1 || ~3.9.5 || ~4.5.2",
  112. "typescript-eslint-parser": "^15 || ^20 || ^22"
  113. },
  114. "peerDependencies": {
  115. "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9"
  116. },
  117. "dependencies": {
  118. "@rtsao/scc": "^1.1.0",
  119. "array-includes": "^3.1.9",
  120. "array.prototype.findlastindex": "^1.2.6",
  121. "array.prototype.flat": "^1.3.3",
  122. "array.prototype.flatmap": "^1.3.3",
  123. "debug": "^3.2.7",
  124. "doctrine": "^2.1.0",
  125. "eslint-import-resolver-node": "^0.3.9",
  126. "eslint-module-utils": "^2.12.1",
  127. "hasown": "^2.0.2",
  128. "is-core-module": "^2.16.1",
  129. "is-glob": "^4.0.3",
  130. "minimatch": "^3.1.2",
  131. "object.fromentries": "^2.0.8",
  132. "object.groupby": "^1.0.3",
  133. "object.values": "^1.2.1",
  134. "semver": "^6.3.1",
  135. "string.prototype.trimend": "^1.0.9",
  136. "tsconfig-paths": "^3.15.0"
  137. }
  138. }