package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "name": "flutter-l3odr0id-features",
  3. "displayName": "Flutter commands",
  4. "description": "An instrument with some commands binded",
  5. "version": "2.0.1",
  6. "publisher": "Leodroid",
  7. "icon": "images/icon.png",
  8. "engines": {
  9. "vscode": "^1.63.0"
  10. },
  11. "categories": [
  12. "Other"
  13. ],
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/L3odr0id/flutter_vs_plugin"
  17. },
  18. "activationEvents": [
  19. "onStartupFinished"
  20. ],
  21. "license": "MIT",
  22. "main": "./dist/extension.js",
  23. "contributes": {
  24. "commands": [
  25. {
  26. "command": "flutter-features.showShellCommandMenu",
  27. "title": "Show Shell Comand Menu"
  28. },
  29. {
  30. "command": "flutter-features.addShellCommandMenu",
  31. "title": "Add Shell Command"
  32. }
  33. ],
  34. "configuration": {
  35. "title": "Flutter commands",
  36. "properties": {
  37. "flutter-features.commands": {
  38. "type": "array",
  39. "items": {
  40. "type": "object",
  41. "properties": {
  42. "name": {
  43. "type": "string",
  44. "description": "Shell alias"
  45. },
  46. "command": {
  47. "type": "string",
  48. "description": "Shell command"
  49. }
  50. }
  51. },
  52. "description": "Commands",
  53. "default": [
  54. {
  55. "name": "Flutter build_runner build",
  56. "command": "fvm flutter packages pub run build_runner build --delete-conflicting-outputs"
  57. },
  58. {
  59. "name": "Dart build_runner build",
  60. "command": "dart pub run build_runner build --delete-conflicting-outputs"
  61. },
  62. {
  63. "name": "Generate assets with assets_fill (run asset_fill)",
  64. "command": "fvm flutter pub run asset_fill"
  65. },
  66. {
  67. "name": "Run intl_utils:generate",
  68. "command": "fvm flutter pub run intl_utils:generate"
  69. },
  70. {
  71. "name": "Pub get",
  72. "command": "fvm flutter pub get"
  73. },
  74. {
  75. "name": "Build bundle .aab",
  76. "command": "fvm flutter build bundle"
  77. },
  78. {
  79. "name": "Build apk",
  80. "command": "fvm flutter build apk"
  81. },
  82. {
  83. "name": "Build web --web-renderer html",
  84. "command": "fvm flutter build web --release --web-renderer html"
  85. },
  86. {
  87. "name": "Run web --web-renderer html",
  88. "command": "fvm flutter run -d chrome --web-renderer html"
  89. },
  90. {
  91. "name": "Run dart_code_metrics analyze lib",
  92. "command": "fvm flutter pub run dart_code_metrics:metrics analyze lib"
  93. },
  94. {
  95. "name": "Run flutter_launcher_icons:main",
  96. "command": "fvm flutter pub run flutter_launcher_icons:main"
  97. },
  98. {
  99. "name": "Run ffigen",
  100. "command": "fvm flutter pub run ffigen"
  101. }
  102. ]
  103. }
  104. }
  105. }
  106. },
  107. "scripts": {
  108. "vscode:prepublish": "npm run package",
  109. "vscode:package": "vsce package",
  110. "webpack": "webpack --mode development",
  111. "webpack-dev": "webpack --mode development --watch",
  112. "package": "webpack --mode production --devtool hidden-source-map"
  113. },
  114. "devDependencies": {
  115. "@types/glob": "^7.2.0",
  116. "@types/node": "14.x",
  117. "@types/vscode": "^1.63.0",
  118. "@types/webpack": "^5.28.0",
  119. "ts-loader": "^9.2.8",
  120. "ts-node": "^10.7.0",
  121. "tsconfig-paths-webpack-plugin": "^3.5.2",
  122. "typescript": "^4.5.4",
  123. "vsce": "^2.7.0",
  124. "webpack": "^5.70.0",
  125. "webpack-cli": "^4.9.2"
  126. }
  127. }