-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
86 lines (86 loc) · 1.94 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "vscode-plugin-parrot",
"displayName": "vscode-plugin-parrot",
"description": "鹦鹉翻译vscode插件",
"version": "0.0.12",
"publisher": "ht-sauce",
"repository": {
"type": "git",
"url": "https://github.com/ht-sauce/vscode-plugin-parrot"
},
"engines": {
"vscode": "^1.77.0"
},
"categories": [
"Other"
],
"icon": "public/logo.png",
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "vscode-plugin-parrot"
},
"commands": [
{
"command": "ExtractChinese",
"title": "提取中文"
}
],
"submenus": [
{
"id": "parrot.submenu",
"label": "鹦鹉翻译"
}
],
"menus": {
"editor/context": [
{
"when": "resourceExtname =~ /\\.(ts|js|tsx|jsx|vue|html|json|yaml|yml)$/",
"submenu": "parrot.submenu",
"group": "navigation"
}
],
"parrot.submenu": [
{
"command": "ExtractChinese",
"group": "1_modification@1"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/index.js",
"testTs": "ts-node ./src/test/index.ts",
"test-plugin": "node ./out/test/runTest.js",
"build": "node ./build/index.mjs && vsce package"
},
"devDependencies": {
"@types/eslint": "^8.37.0",
"@types/eslint-scope": "^3.7.4",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.23",
"@types/vscode": "^1.77.0",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@vscode/test-electron": "^2.3.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"prettier": "^2.8.7",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"dependencies": {
"@typescript-eslint/parser": "^5.58.0",
"eslint": "^8.39.0",
"vue-eslint-parser": "^9.1.1"
}
}