package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "name": "eslint-plugin-import",
  3. "version": "2.28.0",
  4. "description": "Import with sanity.",
  5. "engines": {
  6. "node": ">=4"
  7. },
  8. "main": "lib/index.js",
  9. "directories": {
  10. "test": "tests"
  11. },
  12. "files": [
  13. "*.md",
  14. "LICENSE",
  15. "docs",
  16. "lib",
  17. "config",
  18. "memo-parser/{*.js,LICENSE,*.md}"
  19. ],
  20. "scripts": {
  21. "prebuild": "rimraf lib",
  22. "build": "babel --quiet --out-dir lib src",
  23. "postbuild": "npm run copy-metafiles",
  24. "copy-metafiles": "node --require babel-register ./scripts/copyMetafiles",
  25. "watch": "npm run tests-only -- -- --watch",
  26. "pretest": "linklocal",
  27. "posttest": "eslint . && npm run update:eslint-docs -- --check",
  28. "mocha": "cross-env BABEL_ENV=test nyc mocha",
  29. "tests-only": "npm run mocha tests/src",
  30. "test": "npm run tests-only",
  31. "test-compiled": "npm run prepublish && BABEL_ENV=testCompiled mocha --compilers js:babel-register tests/src",
  32. "test-all": "node --require babel-register ./scripts/testAll",
  33. "prepublishOnly": "safe-publish-latest && npm run build",
  34. "prepublish": "not-in-publish || npm run prepublishOnly",
  35. "preupdate:eslint-docs": "npm run build",
  36. "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,☑️"
  37. },
  38. "repository": {
  39. "type": "git",
  40. "url": "https://github.com/import-js/eslint-plugin-import"
  41. },
  42. "keywords": [
  43. "eslint",
  44. "eslintplugin",
  45. "eslint-plugin",
  46. "es6",
  47. "jsnext",
  48. "modules",
  49. "import",
  50. "export"
  51. ],
  52. "author": "Ben Mosher <me@benmosher.com>",
  53. "license": "MIT",
  54. "bugs": {
  55. "url": "https://github.com/import-js/eslint-plugin-import/issues"
  56. },
  57. "homepage": "https://github.com/import-js/eslint-plugin-import",
  58. "devDependencies": {
  59. "@angular-eslint/template-parser": "^13.5.0",
  60. "@eslint/import-test-order-redirect-scoped": "file:./tests/files/order-redirect-scoped",
  61. "@test-scope/some-module": "file:./tests/files/symlinked-module",
  62. "@typescript-eslint/parser": "^2.23.0 || ^3.3.0 || ^4.29.3 || ^5.10.0",
  63. "babel-cli": "^6.26.0",
  64. "babel-core": "^6.26.3",
  65. "babel-eslint": "=8.0.3 || ^8.2.6",
  66. "babel-plugin-istanbul": "^4.1.6",
  67. "babel-plugin-module-resolver": "^2.7.1",
  68. "babel-preset-airbnb": "^2.6.0",
  69. "babel-preset-flow": "^6.23.0",
  70. "babel-register": "^6.26.0",
  71. "babylon": "^6.18.0",
  72. "chai": "^4.3.7",
  73. "cross-env": "^4.0.0",
  74. "escope": "^3.6.0",
  75. "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8",
  76. "eslint-doc-generator": "^1.4.3",
  77. "eslint-import-resolver-node": "file:./resolvers/node",
  78. "eslint-import-resolver-typescript": "^1.0.2 || ^1.1.1",
  79. "eslint-import-resolver-webpack": "file:./resolvers/webpack",
  80. "eslint-import-test-order-redirect": "file:./tests/files/order-redirect",
  81. "eslint-module-utils": "file:./utils",
  82. "eslint-plugin-eslint-plugin": "^2.3.0",
  83. "eslint-plugin-import": "2.x",
  84. "eslint-plugin-json": "^2.1.2",
  85. "fs-copy-file-sync": "^1.1.1",
  86. "glob": "^7.2.3",
  87. "in-publish": "^2.0.1",
  88. "linklocal": "^2.8.2",
  89. "lodash.isarray": "^4.0.0",
  90. "mocha": "^3.5.3",
  91. "npm-which": "^3.0.1",
  92. "nyc": "^11.9.0",
  93. "redux": "^3.7.2",
  94. "rimraf": "^2.7.1",
  95. "safe-publish-latest": "^2.0.0",
  96. "sinon": "^2.4.1",
  97. "typescript": "^2.8.1 || ~3.9.5 || ~4.5.2",
  98. "typescript-eslint-parser": "^15 || ^20 || ^22"
  99. },
  100. "peerDependencies": {
  101. "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8"
  102. },
  103. "dependencies": {
  104. "array-includes": "^3.1.6",
  105. "array.prototype.findlastindex": "^1.2.2",
  106. "array.prototype.flat": "^1.3.1",
  107. "array.prototype.flatmap": "^1.3.1",
  108. "debug": "^3.2.7",
  109. "doctrine": "^2.1.0",
  110. "eslint-import-resolver-node": "^0.3.7",
  111. "eslint-module-utils": "^2.8.0",
  112. "has": "^1.0.3",
  113. "is-core-module": "^2.12.1",
  114. "is-glob": "^4.0.3",
  115. "minimatch": "^3.1.2",
  116. "object.fromentries": "^2.0.6",
  117. "object.groupby": "^1.0.0",
  118. "object.values": "^1.1.6",
  119. "resolve": "^1.22.3",
  120. "semver": "^6.3.1",
  121. "tsconfig-paths": "^3.14.2"
  122. }
  123. }