package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "babel-eslint",
  3. "version": "8.2.6",
  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-beta.44",
  15. "@babel/traverse": "7.0.0-beta.44",
  16. "@babel/types": "7.0.0-beta.44",
  17. "babylon": "7.0.0-beta.44",
  18. "eslint-scope": "3.7.1",
  19. "eslint-visitor-keys": "^1.0.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 && mocha --require test/fixtures/use-eslint-old.js",
  24. "lint": "eslint index.js babylon-to-espree test",
  25. "fix": "eslint index.js babylon-to-espree 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": ">=4"
  34. },
  35. "bugs": {
  36. "url": "https://github.com/babel/babel-eslint/issues"
  37. },
  38. "homepage": "https://github.com/babel/babel-eslint",
  39. "devDependencies": {
  40. "babel-eslint": "^8.0.0",
  41. "dedent": "^0.7.0",
  42. "eslint": "npm:eslint@4.19.1",
  43. "eslint-config-babel": "^7.0.1",
  44. "eslint-old": "npm:eslint@4.13.1",
  45. "eslint-plugin-flowtype": "^2.30.3",
  46. "eslint-plugin-import": "^2.8.0",
  47. "eslint-plugin-prettier": "^2.1.2",
  48. "espree": "^3.5.2",
  49. "husky": "^0.14.0",
  50. "lint-staged": "^6.1.1",
  51. "mocha": "^5.0.1",
  52. "prettier": "^1.4.4"
  53. },
  54. "lint-staged": {
  55. "*.js": [
  56. "eslint --format=codeframe --fix",
  57. "git add"
  58. ]
  59. }
  60. }