package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "carbon-vscode",
  3. "displayName": "Carbon Language",
  4. "version": "0.0.3",
  5. "publisher": "carbon-lang",
  6. "description": "Carbon language support for Visual Studio Code.",
  7. "repository": {
  8. "url": "https://github.com/carbon-language/carbon-lang"
  9. },
  10. "engines": {
  11. "vscode": "^1.90.0"
  12. },
  13. "categories": [
  14. "Programming Languages"
  15. ],
  16. "icon": "images/icon.png",
  17. "activationEvents": [],
  18. "main": "./dist/extension.js",
  19. "contributes": {
  20. "languages": [
  21. {
  22. "id": "carbon",
  23. "aliases": [
  24. "Carbon"
  25. ],
  26. "extensions": [
  27. ".carbon"
  28. ],
  29. "configuration": "./language-configuration.json"
  30. }
  31. ],
  32. "grammars": [
  33. {
  34. "language": "carbon",
  35. "scopeName": "source.carbon",
  36. "path": "./carbon.tmLanguage.json"
  37. }
  38. ],
  39. "configuration": {
  40. "type": "object",
  41. "title": "Carbon Language",
  42. "properties": {
  43. "carbon.carbonPath": {
  44. "type": "string",
  45. "description": "The path to the 'carbon' binary."
  46. }
  47. }
  48. }
  49. },
  50. "scripts": {
  51. "vscode:prepublish": "npm run package",
  52. "compile": "npm run check-types && npm run lint && node esbuild.js",
  53. "watch": "npm-run-all -p watch:*",
  54. "watch:esbuild": "node esbuild.js --watch",
  55. "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
  56. "package": "npm run check-types && npm run lint && node esbuild.js --production",
  57. "compile-tests": "tsc -p . --outDir out",
  58. "check-types": "tsc --noEmit",
  59. "lint": "eslint"
  60. },
  61. "devDependencies": {
  62. "@eslint/js": "^9.13.0",
  63. "@stylistic/eslint-plugin": "^2.9.0",
  64. "@types/node": "^20",
  65. "@types/vscode": "^1.73.0",
  66. "@vscode/vsce": "^2.27.0",
  67. "esbuild": "^0.24.0",
  68. "eslint": "^9.13.0",
  69. "typescript": "^5.7.2",
  70. "typescript-eslint": "^8.16.0"
  71. },
  72. "dependencies": {
  73. "vscode-languageclient": "^9.0.1"
  74. }
  75. }