-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.7 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 2.7 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "scriptcat-vscode",
"displayName": "scriptcat-vscode",
"description": "VS Code extension to assist development of userscripts for ScriptCat and Tampermonkey, with smart script detection and workflow support.\n用于在 VS Code 中辅助 ScriptCat 和 Tampermonkey 用户脚本开发的扩展,提供智能脚本识别与工作流程支持。",
"repository": "https://github.com/scriptscat/scriptcat-vscode",
"version": "0.6.2",
"publisher": "CodFrm",
"icon": "icons/logo.png",
"packageManager": "pnpm@10.29.2",
"keywords": [
"userscript",
"Scriptcat",
"Tampermonkey",
"Greasemonkey"
],
"engines": {
"vscode": "^1.90.0"
},
"l10n": "./l10n",
"nls": "bundle",
"categories": [
"Debuggers",
"Programming Languages"
],
"activationEvents": [
"onLanguage:javascript"
],
"main": "./dist/extension.js",
"contributes": {
"snippets": [
{
"language": "javascript",
"path": "./snippets/scriptcat.json"
}
],
"semanticTokenScopes": [
{
"language": "javascript",
"scopes": {
"metadata": [
"markup.bold"
],
"metaKey": [
"entity.name.function",
"keyword.control"
],
"metaValue": [
"string"
]
}
}
],
"commands": [
{
"command": "scriptcat.target",
"title": "%scriptcat-target%"
},
{
"command": "scriptcat.autoTarget",
"title": "%scriptcat-auto-target%"
},
{
"command": "scriptcat.debug",
"title": "%scriptcat-debug%"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "rspack",
"watch": "rspack --watch",
"package": "rspack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p -w . --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"export-i18n": "vscode-l10n-dev export --outDir ./l10n ./src"
},
"devDependencies": {
"@rspack/cli": "^1.7.5",
"@rspack/core": "^1.7.5",
"@types/mocha": "^10.0.0",
"@types/node": "20.x",
"@types/vscode": "^1.90.0",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vscode/l10n-dev": "^0.0.35",
"@vscode/test-electron": "^2.3.0",
"eslint": "^8.50.0",
"fast-glob": "^3.3.3",
"mocha": "^10.2.0",
"typescript": "^5.3.0"
},
"dependencies": {
"@vscode/l10n": "^0.0.18",
"@vscode/debugadapter": "^1.68.0",
"ws": "^8.18.3"
}
}