package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "babel-eslint",
  3. "version": "10.1.0",
  4. "description": "Custom parser for ESLint",
  5. "main": "lib/index.js",
  6. "files": [
  7. "lib"
  8. ],
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/babel/babel-eslint.git"
  12. },
  13. "dependencies": {
  14. "@babel/code-frame": "^7.0.0",
  15. "@babel/parser": "^7.7.0",
  16. "@babel/traverse": "^7.7.0",
  17. "@babel/types": "^7.7.0",
  18. "eslint-visitor-keys": "^1.0.0",
  19. "resolve": "^1.12.0"
  20. },
  21. "scripts": {
  22. "test": "npm run lint && npm run test-only",
  23. "test-only": "mocha && mocha --require test/fixtures/preprocess-to-patch.js",
  24. "lint": "eslint lib test",
  25. "fix": "eslint lib test --fix",
  26. "precommit": "lint-staged",
  27. "preversion": "npm test",
  28. "changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'"
  29. },
  30. "author": "Sebastian McKenzie <sebmck@gmail.com>",
  31. "license": "MIT",
  32. "engines": {
  33. "node": ">=6"
  34. },
  35. "bugs": {
  36. "url": "https://github.com/babel/babel-eslint/issues"
  37. },
  38. "homepage": "https://github.com/babel/babel-eslint",
  39. "peerDependencies": {
  40. "eslint": ">= 4.12.1"
  41. },
  42. "devDependencies": {
  43. "babel-eslint": "^8.2.6",
  44. "dedent": "^0.7.0",
  45. "eslint": "^5.6.0",
  46. "eslint-config-babel": "^7.0.1",
  47. "eslint-plugin-flowtype": "^2.30.3",
  48. "eslint-plugin-import": "^2.14.0",
  49. "eslint-plugin-prettier": "^2.1.2",
  50. "espree": "^3.5.2",
  51. "husky": "^1.0.0-rc.13",
  52. "lint-staged": "^7.2.2",
  53. "mocha": "^5.0.1",
  54. "prettier": "^1.4.4"
  55. },
  56. "lint-staged": {
  57. "*.js": [
  58. "eslint --format=codeframe --fix",
  59. "git add"
  60. ]
  61. }
  62. }