-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.66 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) · 2.66 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
102
{
"name": "rules-manager",
"displayName": "Rules Manager",
"description": "🚀 A powerful VS Code extension for unified management of rule files for various AI programming tools",
"version": "0.2.9",
"publisher": "BreakingRed",
"icon": "images/logo.png",
"author": {
"name": "Rules Manager Team"
},
"license": "MIT",
"homepage": "https://github.com/CrisChr/rules-manager",
"repository": {
"type": "git",
"url": "https://github.com/CrisChr/rules-manager.git"
},
"bugs": {
"url": "https://github.com/CrisChr/rules-manager/issues"
},
"keywords": [
"ai",
"cursor",
"cline",
"copilot",
"windsurf",
"rules",
"management",
"sync",
"productivity",
"yaml",
"json",
"markdown",
"xml",
"validation",
"file-watcher",
"typescript"
],
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Other",
"Snippets",
"Machine Learning",
"Formatters"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "rules-manager.openRulesPanel",
"title": "Rules Manager: Open Rules Manager Panel"
}
],
"configuration": {
"title": "Rules Manager",
"properties": {
"rules-manager.globalRules": {
"type": "array",
"default": [],
"description": "规则列表支持多种文件格式,通过 VS Code Settings Sync 在设备间同步",
"scope": "application"
},
"rules-manager.supportedExtensions": {
"type": "array",
"default": [".md", ".yaml", ".yml", ".json", ".txt", ".xml"],
"description": "支持的规则文件扩展名列表(用户可自定义添加)",
"scope": "application"
},
"rules-manager.maxFileNameLength": {
"type": "number",
"default": 50,
"description": "规则文件名最大长度限制",
"scope": "application",
"minimum": 10,
"maximum": 100
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile && npm run copy-webview",
"compile": "tsc -p ./",
"copy-webview": "mkdir -p out/webview && cp -r src/webview/* out/webview/",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "18.x",
"@types/vscode": "^1.82.0",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vscode/test-electron": "^2.3.4",
"eslint": "^8.47.0",
"typescript": "^5.1.6"
}
}