package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "_from": "eslint-friendly-formatter@4.0.1",
  3. "_id": "eslint-friendly-formatter@4.0.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-+EhkPwkl/nf/fxT60yXPLAMQ+thUzfJV5rCGdUDdyM+exO3NB+07dwWiZTuyuOtTo/Ckh7W/3LJvWsB214c7ag==",
  6. "_location": "/eslint-friendly-formatter",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "version",
  10. "registry": true,
  11. "raw": "eslint-friendly-formatter@4.0.1",
  12. "name": "eslint-friendly-formatter",
  13. "escapedName": "eslint-friendly-formatter",
  14. "rawSpec": "4.0.1",
  15. "saveSpec": null,
  16. "fetchSpec": "4.0.1"
  17. },
  18. "_requiredBy": [
  19. "#DEV:/"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/eslint-friendly-formatter/-/eslint-friendly-formatter-4.0.1.tgz",
  22. "_shasum": "27d504dc837f7caddbf201b2e84a4ee730ba3efa",
  23. "_spec": "eslint-friendly-formatter@4.0.1",
  24. "_where": "D:\\yf\\项目\\智慧工地\\代码库\\zhgd-front\\crm_web",
  25. "author": {
  26. "name": "Roy Riojas",
  27. "url": "http://royriojas.com"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/royriojas/eslint-friendly-formatter/issues"
  31. },
  32. "bundleDependencies": false,
  33. "changelogx": {
  34. "issueIDRegExp": "#(\\d+)",
  35. "commitURL": "https://github.com/royriojas/eslint-friendly-formatter/commit/{0}",
  36. "authorURL": "https://github.com/{0}",
  37. "issueIDURL": "https://github.com/royriojas/eslint-friendly-formatter/issues/{0}",
  38. "projectName": "eslint-friendly-formatter"
  39. },
  40. "dependencies": {
  41. "chalk": "^2.0.1",
  42. "coalescy": "1.0.0",
  43. "extend": "^3.0.0",
  44. "minimist": "^1.2.0",
  45. "strip-ansi": "^4.0.0",
  46. "text-table": "^0.2.0"
  47. },
  48. "deprecated": false,
  49. "description": " simple formatter/reporter for eslint that's friendly with Sublime Text and iterm2 'click to open file' functionality",
  50. "devDependencies": {
  51. "chai-jest-snapshot": "2.0.0",
  52. "changelogx": "^1.0.18",
  53. "esbeautifier": "10.1.1",
  54. "eslint": "^2.10.2",
  55. "glob-expand": "0.2.1",
  56. "istanbul": "^0.3.17",
  57. "mocha-runner": "^1.0.8",
  58. "precommit": "1.2.2",
  59. "prepush": "3.1.11",
  60. "proxyquire": "^1.6.0",
  61. "read-file": "^0.1.2",
  62. "read-json-sync": "^1.1.0",
  63. "snap-shot": "2.17.0",
  64. "watch-spawn": "^1.0.3",
  65. "write": "^0.2.0"
  66. },
  67. "engines": {
  68. "node": ">=0.10.0"
  69. },
  70. "files": [
  71. "index.js",
  72. "process.js"
  73. ],
  74. "homepage": "https://github.com/royriojas/eslint-friendly-formatter#readme",
  75. "keywords": [
  76. "eslint",
  77. "formatter",
  78. "reporter",
  79. "eslint formatter",
  80. "stylish"
  81. ],
  82. "license": "MIT",
  83. "main": "index.js",
  84. "name": "eslint-friendly-formatter",
  85. "precommit": [
  86. "npm run verify"
  87. ],
  88. "prepush": [
  89. "npm run verify"
  90. ],
  91. "repository": {
  92. "type": "git",
  93. "url": "git+https://github.com/royriojas/eslint-friendly-formatter.git"
  94. },
  95. "scripts": {
  96. "beautify": "esbeautifier './index.js' 'test/specs/**/*.js'",
  97. "beautify-check": "esbeautifier -k './index.js' 'test/specs/**/*.js'",
  98. "bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v",
  99. "bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v",
  100. "bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v",
  101. "changelog": "changelogx -f markdown -o ./changelog.md",
  102. "check": "npm run beautify-check && npm run eslint",
  103. "cover": "istanbul cover -x 'test/specs/**/*.js' mocha-runner 'test/specs/**/*.js' html text-summary",
  104. "do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify",
  105. "eslint": "eslint --format './index.js' index.js test/specs/ -c './configs/eslint.json'",
  106. "install-hooks": "prepush install && changelogx install-hook && precommit install",
  107. "lint": "npm run beautify-check && npm run eslint",
  108. "lint-fix": "npm run beautify && npm run eslint -- --fix",
  109. "post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify",
  110. "pre-v": "npm run verify",
  111. "test": "npm run lint && FORCE_ITERM_HINT=true mocha-runner 'test/specs/**/*.js'",
  112. "test:update": "CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test",
  113. "verify": "npm run check && npm test",
  114. "watch": "npm run cover && watch-spawn -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary"
  115. },
  116. "version": "4.0.1"
  117. }