package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {
  2. "name": "auto-highlight",
  3. "main": "./lib/main",
  4. "version": "0.14.0",
  5. "description": "Highlight text automatically on cursor(even without selection).",
  6. "repository": "https://github.com/davideuler/atom-auto-highlight",
  7. "license": "MIT",
  8. "engines": {
  9. "atom": "^1.13.0-beta1"
  10. },
  11. "configSchema": {
  12. "decorate": {
  13. "order": 0,
  14. "type": "string",
  15. "default": "underline",
  16. "enum": [
  17. "underline",
  18. "box",
  19. "highlight"
  20. ],
  21. "description": "Decoration style for highlight"
  22. },
  23. "highlightSelection": {
  24. "order": 1,
  25. "type": "boolean",
  26. "default": true,
  27. "title": "Highlight Selection"
  28. },
  29. "highlightSelectionMinimumLength": {
  30. "order": 2,
  31. "type": "integer",
  32. "default": 2,
  33. "minimum": 1,
  34. "description": "Minimum length of selection to be highlight"
  35. },
  36. "highlightSelectionMaxNumberOfWord": {
  37. "order": 2,
  38. "type": "integer",
  39. "default": 2,
  40. "minimum": 1,
  41. "description": "Max number of words highlighted before cleared"
  42. },
  43. "highlightSelectionExcludeScopes": {
  44. "order": 3,
  45. "default": [
  46. "vim-mode-plus.visual-mode.blockwise"
  47. ],
  48. "type": "array",
  49. "items": {
  50. "type": "string"
  51. }
  52. },
  53. "highlightSelectionDelay": {
  54. "order": 4,
  55. "type": "integer",
  56. "default": 100,
  57. "description": "Delay(ms) before start to highlight selection when selection changed"
  58. },
  59. "displayCountOnStatusBar": {
  60. "order": 5,
  61. "type": "boolean",
  62. "default": true,
  63. "description": "Show found count on StatusBar"
  64. },
  65. "countDisplayPosition": {
  66. "order": 6,
  67. "type": "string",
  68. "default": "Left",
  69. "enum": [
  70. "Left",
  71. "Right"
  72. ]
  73. },
  74. "countDisplayPriority": {
  75. "order": 7,
  76. "type": "integer",
  77. "default": 120,
  78. "description": "Lower priority get closer position to the edges of the window"
  79. },
  80. "countDisplayStyles": {
  81. "order": 8,
  82. "type": "string",
  83. "default": "icon icon-location",
  84. "description": "Style class for count span element. See `styleguide:show`."
  85. }
  86. },
  87. "providedServices": {
  88. "auto-highlight": {
  89. "description": "auto-highlight events",
  90. "versions": {
  91. "1.0.0": "provideQuickHighlight"
  92. }
  93. }
  94. },
  95. "consumedServices": {
  96. "status-bar": {
  97. "versions": {
  98. "^1.0.0": "consumeStatusBar"
  99. }
  100. },
  101. "vim-mode-plus": {
  102. "versions": {
  103. "^0.1.0": "consumeVim"
  104. }
  105. }
  106. },
  107. "dependencies": {
  108. "underscore-plus": "^1.6.6"
  109. },
  110. "devDependencies": {
  111. "prettier": "^1.10.2",
  112. "standard": "^10.0.3"
  113. },
  114. "scripts": {
  115. "test": "apm test",
  116. "watch": "fswatch -0 spec lib | xargs -0 -n1 -I{} apm test",
  117. "prettier": "prettier --write --no-semi --print-width=120 --no-bracket-spacing --trailing-comma=es5 'lib/**/*.js' 'spec/*.js'",
  118. "lint": "standard lib/*.js lib/**/*.js spec/*.js"
  119. },
  120. "standard": {
  121. "env": {
  122. "atomtest": true,
  123. "browser": true,
  124. "jasmine": true,
  125. "node": true
  126. },
  127. "globals": [
  128. "atom"
  129. ],
  130. "ignore": [
  131. "spec/fixtures/*"
  132. ]
  133. }
  134. }