package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "dayz-debug",
  3. "displayName": "DayZ Log Monitor",
  4. "description": "DayZ mod development debug log monitor",
  5. "version": "1.0.0",
  6. "publisher": "DcrClub",
  7. "engines": {
  8. "vscode": "^1.83.0"
  9. },
  10. "icon": "images/icon.png",
  11. "categories": [
  12. "Other"
  13. ],
  14. "keywords": [
  15. "dayz",
  16. "debug",
  17. "log",
  18. "monitor"
  19. ],
  20. "main": "./out/extension.js",
  21. "contributes": {
  22. "viewsContainers": {
  23. "panel": [
  24. {
  25. "id": "grepPanel",
  26. "title": "DayZDebug",
  27. "icon": "images/grep.png"
  28. }
  29. ]
  30. },
  31. "configuration": {
  32. "title": "DayZDebug",
  33. "properties": {
  34. "dayzDebug.leftDirPath": {
  35. "type": "string",
  36. "default": "",
  37. "description": "左侧日志文件夹路径"
  38. },
  39. "dayzDebug.rightDirPath": {
  40. "type": "string",
  41. "default": "",
  42. "description": "右侧日志文件夹路径"
  43. }
  44. }
  45. },
  46. "views": {
  47. "grepPanel": [
  48. {
  49. "id": "leftLogs",
  50. "name": "服务端日志"
  51. },
  52. {
  53. "id": "rightLogs",
  54. "name": "客户端日志"
  55. }
  56. ]
  57. }
  58. },
  59. "dependencies": {
  60. "chokidar": "^3.5.3"
  61. },
  62. "scripts": {
  63. "vscode:prepublish": "npm run compile",
  64. "compile": "tsc -p ./",
  65. "watch": "tsc -watch -p ./",
  66. "pretest": "npm run compile && npm run lint",
  67. "lint": "eslint src --ext ts",
  68. "test": "node ./out/test/runTest.js"
  69. },
  70. "devDependencies": {
  71. "@types/mocha": "^10.0.2",
  72. "@types/node": "18.x",
  73. "@types/vscode": "^1.83.0",
  74. "@typescript-eslint/eslint-plugin": "^6.7.3",
  75. "@typescript-eslint/parser": "^6.7.3",
  76. "@vscode/test-electron": "^2.3.4",
  77. "eslint": "^8.50.0",
  78. "glob": "^10.3.3",
  79. "mocha": "^10.2.0",
  80. "typescript": "^5.2.2"
  81. },
  82. "repository": {
  83. "type": "git",
  84. "url": "https://github.com/yourusername/your-repo.git"
  85. }
  86. }