package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "name": "eslint-plugin-import",
  3. "version": "2.26.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 .",
  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. },
  36. "repository": {
  37. "type": "git",
  38. "url": "https://github.com/import-js/eslint-plugin-import"
  39. },
  40. "keywords": [
  41. "eslint",
  42. "eslintplugin",
  43. "es6",
  44. "jsnext",
  45. "modules",
  46. "import",
  47. "export"
  48. ],
  49. "author": "Ben Mosher <me@benmosher.com>",
  50. "license": "MIT",
  51. "bugs": {
  52. "url": "https://github.com/import-js/eslint-plugin-import/issues"
  53. },
  54. "homepage": "https://github.com/import-js/eslint-plugin-import",
  55. "devDependencies": {
  56. "@angular-eslint/template-parser": "^13.1.0",
  57. "@eslint/import-test-order-redirect-scoped": "file:./tests/files/order-redirect-scoped",
  58. "@test-scope/some-module": "file:./tests/files/symlinked-module",
  59. "@typescript-eslint/parser": "^2.23.0 || ^3.3.0 || ^4.29.3 || ^5.10.0",
  60. "array.prototype.flatmap": "^1.2.5",
  61. "babel-cli": "^6.26.0",
  62. "babel-core": "^6.26.3",
  63. "babel-eslint": "=8.0.3 || ^8.2.6",
  64. "babel-plugin-istanbul": "^4.1.6",
  65. "babel-plugin-module-resolver": "^2.7.1",
  66. "babel-preset-airbnb": "^2.6.0",
  67. "babel-preset-flow": "^6.23.0",
  68. "babel-register": "^6.26.0",
  69. "babylon": "^6.18.0",
  70. "chai": "^4.3.6",
  71. "cross-env": "^4.0.0",
  72. "escope": "^3.6.0",
  73. "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8",
  74. "eslint-import-resolver-node": "file:./resolvers/node",
  75. "eslint-import-resolver-typescript": "^1.0.2 || ^1.1.1",
  76. "eslint-import-resolver-webpack": "file:./resolvers/webpack",
  77. "eslint-import-test-order-redirect": "file:./tests/files/order-redirect",
  78. "eslint-module-utils": "file:./utils",
  79. "eslint-plugin-eslint-plugin": "^2.3.0",
  80. "eslint-plugin-import": "2.x",
  81. "eslint-plugin-json": "^2.1.2",
  82. "fs-copy-file-sync": "^1.1.1",
  83. "glob": "^7.2.0",
  84. "in-publish": "^2.0.1",
  85. "linklocal": "^2.8.2",
  86. "lodash.isarray": "^4.0.0",
  87. "mocha": "^3.5.3",
  88. "npm-which": "^3.0.1",
  89. "nyc": "^11.9.0",
  90. "redux": "^3.7.2",
  91. "rimraf": "^2.7.1",
  92. "safe-publish-latest": "^2.0.0",
  93. "semver": "^6.3.0",
  94. "sinon": "^2.4.1",
  95. "typescript": "^2.8.1 || ~3.9.5",
  96. "typescript-eslint-parser": "^15 || ^20 || ^22"
  97. },
  98. "peerDependencies": {
  99. "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8"
  100. },
  101. "dependencies": {
  102. "array-includes": "^3.1.4",
  103. "array.prototype.flat": "^1.2.5",
  104. "debug": "^2.6.9",
  105. "doctrine": "^2.1.0",
  106. "eslint-import-resolver-node": "^0.3.6",
  107. "eslint-module-utils": "^2.7.3",
  108. "has": "^1.0.3",
  109. "is-core-module": "^2.8.1",
  110. "is-glob": "^4.0.3",
  111. "minimatch": "^3.1.2",
  112. "object.values": "^1.1.5",
  113. "resolve": "^1.22.0",
  114. "tsconfig-paths": "^3.14.1"
  115. }
  116. }