-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
133 lines (133 loc) · 3.6 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
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "twitch",
"title": "Twitch",
"description": "Raycast extension to search and view information about Twitch users.",
"icon": "extension-icon.png",
"author": "Aleksey Solovyev <[email protected]>",
"categories": ["Fun", "Media"],
"license": "MIT",
"commands": [
{
"name": "followedChannels",
"title": "Show Followed Channels",
"description": "Shows information about followed channels",
"mode": "view",
"preferences": [
{
"title": "Hide Offline Channels",
"description": "This option hides the list of offline channels",
"required": false,
"name": "areFollowedOfflineChannelsHidden",
"type": "checkbox",
"label": "Whether to show channels that are offline or not",
"default": false
}
]
},
{
"name": "searchChannels",
"title": "Search Channels",
"description": "Search Twitch channels by name or description",
"mode": "view"
}
],
"preferences": [
{
"title": "Client ID",
"description": "Twitch Client ID - https://dev.twitch.tv/docs/api/get-started#register-an-application",
"required": true,
"name": "clientId",
"type": "password",
"default": ""
},
{
"title": "Authorization Token",
"description": "Twitch Bearer token (must be matching with Client ID) - https://dev.twitch.tv/docs/api/get-started#get-an-oauth-token",
"required": true,
"name": "authToken",
"type": "password",
"default": ""
},
{
"title": "Hide Followed Offline Channels",
"description": "Toggle the visibility of offline channels that you follow",
"required": false,
"name": "areFollowedOfflineChannelsHidden",
"type": "checkbox",
"default": false
},
{
"title": "Accent Color",
"description": "A color to be used for icons and some other UI elements.",
"required": false,
"name": "accentColor",
"type": "dropdown",
"data": [
{
"title": "Blue",
"value": "Blue"
},
{
"title": "Brown",
"value": "Brown"
},
{
"title": "Green",
"value": "Green"
},
{
"title": "Magenta",
"value": "Magenta"
},
{
"title": "Orange",
"value": "Orange"
},
{
"title": "Purple",
"value": "Purple"
},
{
"title": "Red",
"value": "Red"
},
{
"title": "Yellow",
"value": "Yellow"
}
],
"default": "Purple"
}
],
"devDependencies": {
"@babel/core": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"@raycast/api": "^1.75.1",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.12",
"@types/react": "^18.3.3",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"babel-jest": "^29.7.0",
"eslint": "^9.3.0",
"eslint-config-prettier": "^9.1.0",
"jest": "^29.7.0",
"nock": "^13.5.4",
"prettier": "^3.2.5",
"react-test-renderer": "^18.3.1",
"ts-jest": "^29.1.3",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"publish": "ray publish",
"init:hooks": "git config core.hooksPath .github/hooks",
"test": "jest --collect-coverage"
}
}