-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
134 lines (134 loc) · 3.96 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "cursor-directory",
"title": "Cursor Directory",
"description": "Your cursor.directory in Raycast",
"icon": "extension-icon.png",
"author": "escwxyz",
"contributors": [
"litomore"
],
"crossExtensions": [
"degouville/cursor-recent-projects"
],
"categories": [
"Productivity",
"Developer Tools"
],
"preferences": [
{
"name": "cacheInterval",
"title": "Cache Interval in day",
"type": "textfield",
"required": false,
"default": "1",
"description": "How many days should the local cache expire"
},
{
"name": "showDetailedView",
"title": "Show Detailed View",
"label": "Show detailed view in cursor rules list",
"type": "checkbox",
"required": false,
"default": true,
"description": "Show detailed view in cursor rules list"
},
{
"name": "defaultCursorRulesList",
"title": "Default Cursor Rules List",
"type": "dropdown",
"required": false,
"default": "popular",
"description": "If show all cursor rules or only popular ones in cursor rules list",
"data": [
{
"title": "Popular",
"value": "popular"
},
{
"title": "All",
"value": "all"
}
]
},
{
"name": "skipConfirmationOnCopy",
"title": "Skip Confirmation on Copy",
"label": "Skip confirmation on copying a cursor rule",
"type": "checkbox",
"default": false,
"required": false,
"description": "Skip confirmation on copying a cursor rule"
},
{
"name": "replaceOnLaunch",
"title": "Replace on Launch",
"label": "Replace the content if .cursorrules file already exists",
"type": "checkbox",
"default": true,
"required": false,
"description": "Replace the content if .cursorrules file already exists"
},
{
"name": "projectsDirectory",
"title": "Projects Directory",
"type": "directory",
"required": false,
"description": "The path to the directory to store your projects"
},
{
"name": "exportDirectory",
"title": "Exported Cursor Rules Directory",
"type": "directory",
"required": false,
"default": "~/Documents/CursorRules",
"description": "The path to the directory to export cursor rules"
}
],
"license": "MIT",
"commands": [
{
"name": "index",
"title": "Search Cursor Rules",
"description": "Search cursor rules from cursor.directory for usage inside Cursor Code Editor",
"mode": "view"
},
{
"name": "youtube",
"title": "Search Cursor Videos",
"description": "Search cursor Youtube videos curated by cursor.directory",
"mode": "view"
},
{
"name": "projects",
"title": "Search Cursor Projects",
"description": "Search projects to open with Cursor, creating .cursorrules file if necessary",
"mode": "view"
}
],
"dependencies": {
"@raycast/api": "^1.84.2",
"@raycast/utils": "^1.18.0",
"dayjs": "^1.11.13",
"node-fetch": "^3.3.2",
"raycast-cross-extension": "^0.2.3",
"yaml": "^2.5.1"
},
"devDependencies": {
"@raycast/eslint-config": "^1.0.11",
"@types/node": "20.8.10",
"@types/react": "18.3.3",
"@typescript-eslint/utils": "^8.3.0",
"eslint": "^8.57.0",
"prettier": "^3.3.3",
"typescript": "^5.4.5"
},
"scripts": {
"build": "ray build -e dist",
"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"
}
}