package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "eslint-config-airbnb",
  3. "version": "19.0.4",
  4. "description": "Airbnb's ESLint config, following our styleguide",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./base": "./base.js",
  9. "./hooks": "./hooks.js",
  10. "./legacy": "./legacy.js",
  11. "./whitespace": "./whitespace.js",
  12. "./rules/react": "./rules/react.js",
  13. "./rules/react-a11y": "./rules/react-a11y.js",
  14. "./rules/react-hooks": "./rules/react-hooks.js",
  15. "./package.json": "./package.json"
  16. },
  17. "scripts": {
  18. "prelint": "eclint check * rules/* test/*",
  19. "lint": "eslint .",
  20. "pretests-only": "node ./test/requires",
  21. "tests-only": "babel-tape-runner ./test/test-*.js",
  22. "prepublishOnly": "eslint-find-rules --unused && npm test && safe-publish-latest",
  23. "prepublish": "not-in-publish || npm run prepublishOnly",
  24. "pretest": "npm run --silent lint",
  25. "test": "npm run --silent tests-only",
  26. "link:eslint": "cd node_modules/eslint && npm link --production && cd -",
  27. "pretravis": "npm run link:eslint && cd ../eslint-config-airbnb-base && npm link --no-save eslint && npm install && npm link && cd - && npm link --no-save eslint-config-airbnb-base",
  28. "travis": "npm run --silent tests-only",
  29. "posttravis": "npm unlink --no-save eslint-config-airbnb-base eslint >/dev/null &"
  30. },
  31. "repository": {
  32. "type": "git",
  33. "url": "https://github.com/airbnb/javascript"
  34. },
  35. "keywords": [
  36. "eslint",
  37. "eslintconfig",
  38. "config",
  39. "airbnb",
  40. "javascript",
  41. "styleguide",
  42. "es2015",
  43. "es2016",
  44. "es2017",
  45. "es2018"
  46. ],
  47. "author": "Jake Teton-Landis (https://twitter.com/@jitl)",
  48. "contributors": [
  49. {
  50. "name": "Jake Teton-Landis",
  51. "url": "https://twitter.com/jitl"
  52. },
  53. {
  54. "name": "Jordan Harband",
  55. "email": "ljharb@gmail.com",
  56. "url": "http://ljharb.codes"
  57. },
  58. {
  59. "name": "Harrison Shoff",
  60. "url": "https://twitter.com/hshoff"
  61. }
  62. ],
  63. "license": "MIT",
  64. "bugs": {
  65. "url": "https://github.com/airbnb/javascript/issues"
  66. },
  67. "homepage": "https://github.com/airbnb/javascript",
  68. "dependencies": {
  69. "eslint-config-airbnb-base": "^15.0.0",
  70. "object.assign": "^4.1.2",
  71. "object.entries": "^1.1.5"
  72. },
  73. "devDependencies": {
  74. "@babel/runtime": "^7.16.3",
  75. "babel-preset-airbnb": "^4.5.0",
  76. "babel-tape-runner": "^3.0.0",
  77. "eclint": "^2.8.1",
  78. "eslint": "^7.32.0 || ^8.2.0",
  79. "eslint-find-rules": "^4.0.0",
  80. "eslint-plugin-import": "^2.25.3",
  81. "eslint-plugin-jsx-a11y": "^6.5.1",
  82. "eslint-plugin-react": "^7.28.0",
  83. "eslint-plugin-react-hooks": "^4.3.0",
  84. "in-publish": "^2.0.1",
  85. "react": ">= 0.13.0",
  86. "safe-publish-latest": "^2.0.0",
  87. "tape": "^5.3.2"
  88. },
  89. "peerDependencies": {
  90. "eslint": "^7.32.0 || ^8.2.0",
  91. "eslint-plugin-import": "^2.25.3",
  92. "eslint-plugin-jsx-a11y": "^6.5.1",
  93. "eslint-plugin-react": "^7.28.0",
  94. "eslint-plugin-react-hooks": "^4.3.0"
  95. },
  96. "engines": {
  97. "node": "^10.12.0 || ^12.22.0 || ^14.17.0 || >=16.0.0"
  98. }
  99. }