-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
110 lines (110 loc) · 2.7 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "open-path",
"title": "Open Path",
"description": "Open path from selection or clipboard.\nSupport directory, URL, IP address, URL scheme, mailto, email address.",
"icon": "open-path.png",
"author": "koinzhang",
"categories": [
"Developer Tools",
"Productivity",
"System"
],
"license": "MIT",
"commands": [
{
"name": "open-path",
"title": "Open Path",
"description": "Open path from selection or clipboard.\nSupport directory, URL, IP address, URL scheme, mailto, email address.",
"mode": "no-view"
}
],
"preferences": [
{
"name": "trimText",
"type": "checkbox",
"description": "Automatically remove spaces at both ends of text.",
"required": false,
"title": "Advanced Preferences",
"default": true,
"label": "Trim Text"
},
{
"name": "isShowHud",
"type": "checkbox",
"description": "After open the path, display the HUD pop-up prompt.",
"required": false,
"default": true,
"label": "Show HUD"
},
{
"name": "priorityDetection",
"type": "dropdown",
"required": false,
"title": "Priority Detection",
"description": "Priority detection of selected text or clipboard.",
"default": "selected",
"data": [
{
"title": "Selected Text",
"value": "selected"
},
{
"title": "Clipboard Text",
"value": "clipboard"
}
]
},
{
"name": "searchEngine",
"type": "dropdown",
"required": false,
"title": "Search Engine",
"description": "Search Engine for selected or clipboard text.",
"default": "Google",
"data": [
{
"title": "Google",
"value": "Google"
},
{
"title": "Bing",
"value": "Bing"
},
{
"title": "Baidu",
"value": "Baidu"
},
{
"title": "Brave",
"value": "Brave"
},
{
"title": "DuckDuckGo",
"value": "DuckDuckGo"
}
]
}
],
"dependencies": {
"@raycast/api": "^1.35.1",
"fs-extra": "^10.1.0"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/node": "~16.10.0",
"@types/react": "^17.0.28",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"prettier": "^2.5.1",
"typescript": "^4.4.3"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint"
}
}