-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.7 KB
/
package.json
File metadata and controls
97 lines (97 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
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "doorstopper",
"title": "Doorstopper",
"description": "Prevent your MacBook from going to sleep when you close the lid",
"categories": [
"System"
],
"icon": "icon.png",
"author": "roele",
"license": "MIT",
"commands": [
{
"name": "enable",
"title": "Enable Doorstopper",
"description": "Prevent the MacBook from going to sleep when closing the lid",
"mode": "no-view"
},
{
"name": "disable",
"title": "Disable Doorstopper",
"description": "Allow the MacBook to go to sleep when closing the lid",
"mode": "no-view"
},
{
"name": "toggle",
"title": "Toggle Doorstopper",
"subtitle": "Doorstopper",
"description": "Toggle Doorstopper",
"mode": "no-view"
},
{
"name": "status",
"title": "Doorstopper Status",
"description": "Check if Doorstopper is enabled or disabled",
"mode": "no-view"
},
{
"name": "statusmenu",
"title": "Doorstopper Status Menu Bar",
"description": "Get the Doorstopper status in your menu bar",
"mode": "menu-bar",
"preferences": [
{
"name": "hiddenWhenDisabled",
"description": "Hide the icon when disabled",
"type": "checkbox",
"required": false,
"default": false,
"title": "When Disabled",
"label": "Hide the icon"
}
]
}
],
"preferences": [
{
"name": "icon",
"description": "Select icon set for Menu Bar",
"type": "dropdown",
"required": false,
"default": "door",
"title": "Menu Bar Icon",
"data": [
{
"title": "None",
"value": ""
},
{
"title": "Door",
"value": "door"
}
]
}
],
"scripts": {
"build": "ray build",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"prepublishOnly": "echo \"\\n\\nIt seems like you are trying to publish the Raycast extension to npm.\\n\\nIf you did intend to publish it to npm, remove the \\`prepublishOnly\\` script and rerun \\`npm publish\\` again.\\nIf you wanted to publish it to the Raycast Store instead, use \\`npm run publish\\` instead.\\n\\n\" && exit 1",
"publish": "npx @raycast/api@latest publish",
"pull": "npx @raycast/api@latest pull-contributions"
},
"dependencies": {
"@raycast/api": "^1.104.11",
"@raycast/utils": "^2.2.3"
},
"devDependencies": {
"@raycast/eslint-config": "^2.1.1",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"eslint": "^10.1.0",
"prettier": "^3.8.1",
"typescript": "^6.0.2"
}
}