package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "eslint-friendly-formatter",
  3. "version": "3.0.0",
  4. "description": " simple formatter/reporter for eslint that's friendly with Sublime Text and iterm2 'click to open file' functionality",
  5. "repository": "royriojas/eslint-friendly-formatter",
  6. "license": "MIT",
  7. "author": {
  8. "name": "Roy Riojas",
  9. "url": "http://royriojas.com"
  10. },
  11. "main": "index.js",
  12. "files": [
  13. "index.js",
  14. "process.js"
  15. ],
  16. "engines": {
  17. "node": ">=0.10.0"
  18. },
  19. "scripts": {
  20. "beautify": "esbeautifier './index.js' 'test/specs/**/*.js'",
  21. "beautify-check": "esbeautifier -k './index.js' 'test/specs/**/*.js'",
  22. "eslint": "eslint --format './index.js' index.js test/specs/ -c './configs/eslint.json'",
  23. "lint-fix": "npm run beautify && npm run eslint -- --fix",
  24. "lint": "npm run beautify-check && npm run eslint",
  25. "test": "npm run lint && mocha-runner 'test/specs/**/*.js'",
  26. "cover": "istanbul cover -x 'test/specs/**/*.js' mocha-runner 'test/specs/**/*.js' html text-summary",
  27. "watch": "npm run cover && watch-spawn -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary",
  28. "check": "npm run beautify-check && npm run eslint",
  29. "verify": "npm run check && npm test",
  30. "changelog": "changelogx -f markdown -o ./changelog.md",
  31. "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify",
  32. "install-hooks": "prepush install && changelogx install-hook && precommit install",
  33. "pre-v": "npm run verify",
  34. "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify",
  35. "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v",
  36. "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v",
  37. "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v"
  38. },
  39. "keywords": [
  40. "eslint",
  41. "formatter",
  42. "reporter",
  43. "eslint formatter",
  44. "stylish"
  45. ],
  46. "prepush": [
  47. "npm run verify"
  48. ],
  49. "precommit": [
  50. "npm run verify"
  51. ],
  52. "devDependencies": {
  53. "changelogx": "^1.0.18",
  54. "esbeautifier": "10.1.1",
  55. "eslint": "^2.10.2",
  56. "glob-expand": "0.2.1",
  57. "istanbul": "^0.3.17",
  58. "mocha-runner": "^1.0.8",
  59. "precommit": "1.2.2",
  60. "prepush": "3.1.11",
  61. "proxyquire": "^1.6.0",
  62. "read-file": "^0.1.2",
  63. "read-json-sync": "^1.1.0",
  64. "watch-spawn": "^1.0.3",
  65. "write": "^0.2.0"
  66. },
  67. "dependencies": {
  68. "chalk": "^1.0.0",
  69. "coalescy": "1.0.0",
  70. "extend": "^3.0.0",
  71. "minimist": "^1.2.0",
  72. "text-table": "^0.2.0"
  73. },
  74. "changelogx": {
  75. "issueIDRegExp": "#(\\d+)",
  76. "commitURL": "https://github.com/royriojas/eslint-friendly-formatter/commit/{0}",
  77. "authorURL": "https://github.com/{0}",
  78. "issueIDURL": "https://github.com/royriojas/eslint-friendly-formatter/issues/{0}",
  79. "projectName": "eslint-friendly-formatter"
  80. }
  81. }