-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 2.91 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
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "code-saver",
"title": "Code Saver",
"description": "store your code snippets and export them freely when you need it.",
"icon": "command-icon.png",
"author": "Gnosnay",
"categories": [
"Developer Tools",
"Productivity",
"Web"
],
"license": "MIT",
"preferences": [
{
"title": "Store Folder",
"name": "dbFolder",
"description": "Choose the folder you wanna create store in. If you already have one store, plesae make sure it is named as `code-saver.db` and is under this folder.",
"type": "directory",
"required": true
},
{
"title": "Backup Dates",
"name": "backupDates",
"description": "How many days do you want to backup your data?",
"type": "dropdown",
"data": [
{
"title": "Past 3 Days",
"value": "3Days"
},
{
"title": "Past One Week",
"value": "1Week"
},
{
"title": "Past One Month",
"value": "1Month"
},
{
"title": "Always Keep",
"value": "always"
}
],
"default": "1Week",
"required": true
},
{
"title": "Encrypt Key",
"name": "encryptedKey",
"description": "We will encrypt your datastore with the key you give. Please keep it in mind.",
"type": "password",
"required": true
}
],
"commands": [
{
"name": "search-snippets",
"title": "Search Code Snippets",
"subtitle": "Code Saver",
"description": "Search your snippets.",
"mode": "view"
},
{
"name": "create-snippet",
"title": "Create Code Snippet",
"subtitle": "Code Saver",
"description": "Create new personal/team snippet.",
"mode": "view"
}
],
"dependencies": {
"@raycast/api": "^1.48.9",
"@raycast/utils": "^1.5.2",
"better-sqlite3-multiple-ciphers": "^9.0.0",
"date-fns": "^2.29.3",
"dayjs": "^1.11.10",
"drizzle-orm": "^0.28.6",
"node-fetch": "^3.3.1",
"tar-stream": "^3.1.6",
"ts-results-es": "^3.6.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@raycast/eslint-config": "1.0.5",
"@types/better-sqlite3": "^7.6.5",
"@types/node": "^18.18.6",
"@types/react": "18.0.9",
"@types/tar-stream": "^3.1.3",
"@types/uuid": "^9.0.6",
"drizzle-kit": "^0.19.13",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.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",
"publish": "ray publish",
"migration-gen": "drizzle-kit generate:sqlite --config=drizzle.config.ts",
"migration-push": "drizzle-kit push:sqlite --config=drizzle.config.ts"
}
}