-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 3.27 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
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "modify-hash",
"title": "Modify Hash",
"description": "Batch modify the hash of media files, which can be simply used for uploading online disk to prevent censorship.",
"icon": "hasher.png",
"author": "isfeng",
"categories": [
"Developer Tools",
"Productivity"
],
"keywords": [
"media",
"video",
"audio",
"image",
"hash",
"md5",
"anti-censorship",
"zip",
"encrypt"
],
"license": "MIT",
"commands": [
{
"name": "modifyHash",
"title": "Modify Hash",
"subtitle": "Media Files",
"description": "Batch modify the hash of media files.",
"mode": "view"
},
{
"name": "restoreHash",
"title": "Restore Hash",
"subtitle": "Media Files",
"description": "Batch restore the hash of media files.",
"mode": "view"
},
{
"name": "zipCompress",
"title": "Zip Compress",
"subtitle": "Files",
"description": "Compress files to zip with password.",
"mode": "view"
},
{
"name": "zipExtract",
"title": "Zip Extract",
"subtitle": "Zip Files",
"description": "Extract files from zip with password.",
"mode": "view"
}
],
"preferences": [
{
"label": "Show MD5 Log",
"name": "showMD5Log",
"description": "Show modify file md5 log by default, turn off it can save time when there are large video files.",
"type": "checkbox",
"required": false,
"default": true
},
{
"label": "Enable Zip Password",
"name": "enableZipPassword",
"description": "Enable zip compress and extract with password.",
"type": "checkbox",
"required": false,
"default": true
},
{
"title": "Zip Password",
"name": "zipPassword",
"description": "Password for zip compress and extract.",
"type": "textfield",
"required": false,
"default": "1024"
},
{
"title": "Enable to Modify the Type of Media Files",
"name": "enableVideo",
"label": "Video",
"description": "Enable to modify the hash of video files.",
"type": "checkbox",
"required": false,
"default": true
},
{
"name": "enableAudio",
"label": "Audio",
"description": "Enable to modify the hash of audio files.",
"type": "checkbox",
"required": false,
"default": false
},
{
"name": "enableImage",
"label": "Image",
"description": "Enable to modify the hash of image files.",
"type": "checkbox",
"required": false,
"default": false
}
],
"dependencies": {
"@raycast/api": "^1.41.1",
"execa": "^6.1.0",
"file-type": "^18.0.0"
},
"devDependencies": {
"@types/crypto-js": "^4.1.1",
"@types/node": "16.10.3",
"@types/react": "18.0.9",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"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"
}
}