package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {
  2. "name": "solang",
  3. "displayName": "Solang Solidity Compiler",
  4. "description": "Use the solang compiler for syntax highlighting, compiler warnings and errors, and hovers",
  5. "publisher": "solang",
  6. "icon": "hl_solang.png",
  7. "contributors": [
  8. "Shivam Balikondwar <shivambalikondwar@icloud.com>",
  9. "Govardhan G D <chioni1620@gmail.com>",
  10. "Sean Young <sean@mess.org>"
  11. ],
  12. "version": "0.3.4",
  13. "repository": "github.com/hyperledger/solang",
  14. "engines": {
  15. "vscode": "^1.43.0"
  16. },
  17. "categories": [
  18. "Other"
  19. ],
  20. "activationEvents": [
  21. "onLanguage:solidity"
  22. ],
  23. "main": "./out/client/extension.js",
  24. "contributes": {
  25. "configuration": {
  26. "type": "object",
  27. "title:": "Solang Solidity Compiler",
  28. "properties": {
  29. "solang.target": {
  30. "scope": "window",
  31. "type": "string",
  32. "enum": [
  33. "solana",
  34. "polkadot",
  35. "evm"
  36. ],
  37. "default": "solana",
  38. "description": "Chain to build for. The Solidity language changes in subtle ways depending on the target."
  39. },
  40. "solang.updates.askBeforeDownload": {
  41. "type": "boolean",
  42. "default": false,
  43. "description": "Whether to ask for permission before downloading any files from the Internet"
  44. },
  45. "solidity.trace.server": {
  46. "scope": "window",
  47. "type": "string",
  48. "enum": [
  49. "off",
  50. "messages",
  51. "verbose"
  52. ],
  53. "default": "verbose"
  54. }
  55. }
  56. },
  57. "capabilities": {
  58. "hoverProvider": "true",
  59. "formatting": {
  60. "dynamicRegistration": true
  61. }
  62. },
  63. "languages": [
  64. {
  65. "id": "solidity",
  66. "aliases": [
  67. "Solidity",
  68. "solidity"
  69. ],
  70. "extensions": [
  71. ".sol"
  72. ],
  73. "configuration": "./solidity.configuration.json"
  74. }
  75. ],
  76. "snippets": [
  77. {
  78. "language": "solidity",
  79. "path": "./snippets/solidity.json"
  80. }
  81. ],
  82. "grammars": [
  83. {
  84. "language": "solidity",
  85. "scopeName": "source.solidity",
  86. "path": "./syntaxes/solidity.json"
  87. }
  88. ]
  89. },
  90. "scripts": {
  91. "vscode:prepublish": "npm run compile",
  92. "compile": "tsc -p ./",
  93. "lint": "eslint src --ext ts",
  94. "lint:fix": "eslint src --ext ts --fix",
  95. "watch": "tsc -watch -p ./",
  96. "test": "NODE_ENV=test node ./out/test/runTest.js"
  97. },
  98. "dependencies": {
  99. "node-fetch": "^2.6.1",
  100. "semver": "^7.3.5",
  101. "vsce": "^1.103.1",
  102. "vscode-languageclient": "^6.1.3",
  103. "vscode-languageserver": "^6.1.1",
  104. "vscode-languageserver-protocol": "=3.15.3"
  105. },
  106. "devDependencies": {
  107. "@types/glob": "^7.1.1",
  108. "@types/mocha": "^7.0.2",
  109. "@types/node": "^18.11.9",
  110. "@types/node-fetch": "^2.6.11",
  111. "@types/semver": "^7.3.8",
  112. "@types/vscode": "^1.43.0 <1.69.0",
  113. "@typescript-eslint/eslint-plugin": "^4.15.0",
  114. "@typescript-eslint/parser": "^4.15.0",
  115. "@vscode/test-electron": "^1.6.2",
  116. "eslint": ">=7.0.0",
  117. "glob": "^7.1.6",
  118. "mocha": "^7.1.2",
  119. "tap": "^21.0.1",
  120. "tape": "^5.9.0",
  121. "typescript": "^5.3.3"
  122. },
  123. "__metadata": {
  124. "id": "3134b20d-911a-4418-a461-3f2380f4a1c2",
  125. "publisherDisplayName": "Hyperledger Solang",
  126. "publisherId": "6c1a8c6d-5493-4493-81d2-e899244f0def",
  127. "isPreReleaseVersion": false
  128. }
  129. }