package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "eslint-plugin-ft-flow",
  3. "description": "Flowtype linting rules for ESLint by flow-typed",
  4. "version": "2.0.3",
  5. "license": "MIT",
  6. "main": "./dist/index.js",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/flow-typed/eslint-plugin-ft-flow"
  10. },
  11. "engines": {
  12. "node": ">=12.22.0"
  13. },
  14. "scripts": {
  15. "build:flow": "flow-copy-source --ignore '*.spec.*' src dist",
  16. "build": "rimraf ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files && yarn build:flow",
  17. "check-docs": "babel-node ./scripts/checkDocs",
  18. "check-tests": "babel-node ./scripts/checkTests",
  19. "create-readme": "node ./scripts/genReadme && babel-node ./scripts/addAssertions",
  20. "lint": "eslint ./src ./tests",
  21. "test:rules": "mocha --require @babel/register ./tests/rules/index.js",
  22. "test": "yarn jest && yarn test:rules",
  23. "prepublishOnly": "yarn create-readme && yarn build"
  24. },
  25. "dependencies": {
  26. "lodash": "^4.17.21",
  27. "string-natural-compare": "^3.0.1"
  28. },
  29. "devDependencies": {
  30. "@babel/cli": "^7.15.7",
  31. "@babel/core": "^7.16.5",
  32. "@babel/eslint-parser": "^7.16.5",
  33. "@babel/node": "^7.15.8",
  34. "@babel/plugin-syntax-flow": "^7.16.5",
  35. "@babel/plugin-transform-react-jsx": "^7.16.5",
  36. "@babel/preset-env": "^7.16.5",
  37. "@babel/preset-flow": "^7.16.0",
  38. "@babel/preset-react": "^7.16.7",
  39. "@babel/register": "^7.15.3",
  40. "ajv": "^8.6.3",
  41. "babel-plugin-add-module-exports": "^1.0.4",
  42. "babel-plugin-transform-flow-enums": "^0.0.2",
  43. "eslint": "^8.4.1",
  44. "eslint-config-airbnb": "^19.0.2",
  45. "eslint-config-bzc": "^1.0.5",
  46. "eslint-plugin-fb-flow": "^0.0.4",
  47. "eslint-plugin-ft-flow": "^1.1.0",
  48. "eslint-plugin-import": "^2.25.3",
  49. "eslint-plugin-jest": "^25.3.2",
  50. "eslint-plugin-jsx-a11y": "^6.5.1",
  51. "eslint-plugin-react": "^7.28.0",
  52. "eslint-plugin-react-hooks": "^4.3.0",
  53. "eslint-plugin-testing-library": "^5.0.1",
  54. "flow-bin": "^0.167.1",
  55. "flow-copy-source": "^2.0.9",
  56. "glob": "^7.2.0",
  57. "husky": "^7.0.4",
  58. "jest": "^27.4.5",
  59. "lint-staged": "^12.1.2",
  60. "mocha": "^10.1.0",
  61. "rimraf": "^3.0.2"
  62. },
  63. "peerDependencies": {
  64. "@babel/eslint-parser": "^7.12.0",
  65. "eslint": "^8.1.0"
  66. },
  67. "keywords": [
  68. "eslint",
  69. "eslintplugin",
  70. "plugin",
  71. "flow",
  72. "flow-bin",
  73. "flowtype",
  74. "flow-typed"
  75. ],
  76. "lint-staged": {
  77. "**/*.js": "eslint"
  78. }
  79. }