-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 2.88 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
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "snap-jot",
"title": "SnapJot",
"description": "Create a memo with a timestamp",
"icon": "command-icon.png",
"author": "k41531",
"contributors": [
"longy2k"
],
"license": "MIT",
"preferences": [
{
"type": "directory",
"name": "directory",
"title": "Specify a folder to save the memo",
"required": true,
"description": "Specify a folder to save the memo",
"default": "~/Documents"
},
{
"type": "file",
"name": "template",
"title": "Memo template",
"description": "If there is no file, create a file with the template written in it.",
"required": false
},
{
"type": "textfield",
"name": "format",
"title": "File name format",
"required": false,
"description": "ex) YYYY-MM-DD.md -> 2023-12-11.md",
"default": "YYYY-MM-DD.md",
"placeholder": "YYYY-MM-DD.md"
},
{
"type": "dropdown",
"name": "timeFormat",
"title": "Time format",
"required": true,
"description": "Choose '12' for AM/PM format, or '24' for a military-style time display.",
"default": "24",
"data": [
{
"title": "24",
"value": "24"
},
{
"title": "12",
"value": "12"
}
],
"placeholder": "24"
},
{
"type": "textfield",
"name": "prefix",
"title": "Memo prefix",
"required": false,
"description": "ex) - HH:mm -> - 12:34 My first memo.\n if you want to use AM/PM format, use 'A' and set 'timeFormat' to '12'.",
"default": "- HH:mm ",
"placeholder": "- HH:mm"
}
],
"commands": [
{
"name": "memo",
"title": "Jot Down",
"subtitle": "Create a memo with a timestamp",
"description": "Create a memo with a timestamp",
"category": ["Productivity","Documentation"],
"mode": "view"
},
{
"name": "dailyNote",
"title": "Daily Note",
"description": "Search or add to daily note.",
"mode": "view"
},
{
"name": "searchNotes",
"title": "Search Notes",
"description": "Search notes from specified folder.",
"mode": "view"
},
{
"name": "searchText",
"title": "Search Text",
"description": "Search for specific text within your SnapJot notes.",
"mode": "view"
}
],
"dependencies": {
"@raycast/api": "^1.63.0",
"@raycast/utils": "^1.10.1"
},
"devDependencies": {
"@raycast/eslint-config": "^1.0.6",
"@types/node": "20.8.10",
"@types/react": "18.2.27",
"eslint": "^8.51.0",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"publish": "npx @raycast/api@latest publish"
}
}