package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "name": "tranlastion",
  3. "displayName": "tranlastion",
  4. "description": "一个划词及悬浮的翻译插件",
  5. "version": "0.0.1",
  6. "author": "Caner",
  7. "emil": "5658514@qq.com",
  8. "license": "any",
  9. "repository": "https://git.caner.top/Caner/vscode-translation.git",
  10. "engines": {
  11. "vscode": "^1.76.0"
  12. },
  13. "categories": [
  14. "Other"
  15. ],
  16. "activationEvents": [
  17. "onStartupFinished"
  18. ],
  19. "main": "./out/extension.js",
  20. "scripts": {
  21. "vscode:prepublish": "yarn run compile",
  22. "compile": "tsc -p ./",
  23. "watch": "tsc -watch -p ./",
  24. "pretest": "yarn run compile && yarn run lint",
  25. "lint": "eslint src --ext ts",
  26. "test": "node ./out/test/runTest.js"
  27. },
  28. "devDependencies": {
  29. "@types/glob": "^8.1.0",
  30. "@types/mocha": "^10.0.1",
  31. "@types/node": "16.x",
  32. "@types/vscode": "^1.76.0",
  33. "@typescript-eslint/eslint-plugin": "^5.53.0",
  34. "@typescript-eslint/parser": "^5.53.0",
  35. "@vscode/test-electron": "^2.2.3",
  36. "eslint": "^8.34.0",
  37. "glob": "^8.1.0",
  38. "mocha": "^10.2.0",
  39. "typescript": "^4.9.5"
  40. },
  41. "dependencies": {
  42. "axios": "^1.3.4",
  43. "crypto-js": "^4.1.1",
  44. "utf8": "^3.0.0"
  45. }
  46. }