package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "name": "elvish",
  3. "displayName": "Elvish",
  4. "description": "Elvish language support for Visual Studio Code",
  5. "version": "0.1.4",
  6. "publisher": "elves",
  7. "license": "BSD-2-Clause",
  8. "icon": "icon.png",
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/elves/elvish"
  12. },
  13. "engines": {
  14. "vscode": "^1.65.0"
  15. },
  16. "categories": [
  17. "Programming Languages"
  18. ],
  19. "activationEvents": [
  20. "onLanguage:elvish"
  21. ],
  22. "main": "./dist/extension.js",
  23. "contributes": {
  24. "languages": [
  25. {
  26. "id": "elvish",
  27. "aliases": [
  28. "Elvish",
  29. "elvish"
  30. ],
  31. "extensions": [
  32. ".elv"
  33. ],
  34. "configuration": "./language-configuration.json"
  35. },
  36. {
  37. "id": "elvish-transcript",
  38. "aliases": [
  39. "Elvish transcript",
  40. "elvish transcript"
  41. ],
  42. "extensions": [
  43. ".ttyshot"
  44. ]
  45. },
  46. {
  47. "id": "elvish-in-markdown",
  48. "aliases": [
  49. "Elvish in Markdown"
  50. ]
  51. }
  52. ],
  53. "grammars": [
  54. {
  55. "language": "elvish",
  56. "scopeName": "source.elvish",
  57. "path": "./syntaxes/elvish.tmLanguage.json"
  58. },
  59. {
  60. "language": "elvish-transcript",
  61. "scopeName": "source.elvish-transcript",
  62. "path": "./syntaxes/elvish-transcript.tmLanguage.json",
  63. "embeddedLanguages": {
  64. "meta.embedded.block.elvish": "elvish"
  65. }
  66. },
  67. {
  68. "language": "elvish-in-markdown",
  69. "scopeName": "source.elvish.in.markdown",
  70. "path": "./syntaxes/elvish-in-markdown.tmLanguage.json",
  71. "injectTo": [
  72. "text.html.markdown"
  73. ],
  74. "embeddedLanguages": {
  75. "meta.embedded.block.elvish": "elvish",
  76. "meta.embedded.block.elvish-transcript": "elvish-transcript"
  77. }
  78. }
  79. ],
  80. "configuration": {
  81. "title": "Elvish",
  82. "properties": {
  83. "elvish.trace.server": {
  84. "type": "string",
  85. "enum": [
  86. "off",
  87. "messages",
  88. "verbose"
  89. ],
  90. "default": "off",
  91. "description": "Trace communication between VS Code and the Elvish language server. Trace messages are shown in the Elvish Language Server output channel."
  92. }
  93. }
  94. }
  95. },
  96. "scripts": {
  97. "vscode:prepublish": "npm run build",
  98. "build": "esbuild ./extension.js --bundle --outfile=./dist/extension.js --external:vscode --format=cjs --platform=node --minify --sourcemap"
  99. },
  100. "dependencies": {
  101. "vscode-languageclient": "^7.0.0"
  102. },
  103. "devDependencies": {
  104. "esbuild": "^0.15.0"
  105. }
  106. }