package.json
manifest file is a superset of npm's package.json
file. This way, you only need one file to configure your extension. This document covers only the Raycast specific fields. Refer to npm's documentation for everything else.@dark
as suffix, e.g. icon.png
and [email protected]
.index.ts
(or any other supported TypeScript or JavaScript file extension such as .tsx
, .js
, .jsx)
.@dark
as suffix, e.g. icon.png
and [email protected]
.view
indicates that the command will show a main view when performed. no-view
means that the command does not push a view to the main navigation stack in Raycast. The latter is handy for directly opening a URL or other API functionalities that don't require a user interface. menu-bar
indicates that this command will return a Menu Bar Extrano-view
or menu-bar
command should be launched in the background every X seconds (s), minutes (m), hours (h) or days (d). Examples: 90s, 1m, 12h, 1d. The minimum value is 1 minute (1m).name
."textfield"
and "password"
(for secure entry), "checkbox"
, "dropdown"
and "appPicker"
.type
is checkbox
. Yes otherwise.title
of the first checkbox and leave the title
of the other checkboxes empty.type
is dropdown
. No otherwisetitle
and value
properties, e.g.: [{"title": "Item 1", "value": "1"}]
type
is checkbox
. No otherwise.text
and password
(for secure entry). When the type is password
, entered text will be replaced with asterisks. Most common use case – passing passwords or secrets to commands.false
.