/
package.json
82 lines (82 loc) · 2.56 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
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "hashnode-search-and-publish",
"title": "Hashnode Search and Publish",
"description": "This hashnode raycast extension is a personal hashnode feed and publishing blogs right from raycast ",
"icon": "command-icon.png",
"author": "agrit",
"owner": "agrittiwari",
"categories": [
"Developer Tools"
],
"license": "MIT",
"commands": [
{
"name": "search",
"title": "Search Recent blogs",
"subtitle": "Search blogs from Subscribed Publications",
"description": "Raycast extension for Hashnode, a blogging platform on your dock",
"mode": "view"
},
{
"name": "publish",
"title": "Publish Blog",
"subtitle": "Publish Blog you were writing",
"description": "Raycast extension for Hashnode, a blogging platform on your dock",
"mode": "view"
},
{
"name": "profile",
"title": "Check your Hashnode Profile",
"subtitle": "Share your hashnode blogs",
"description": "Check your hashnode profile right from your dock",
"mode": "view"
}
],
"preferences": [
{
"name": "token",
"type": "password",
"required": true,
"title": "API Token",
"description": "Get or generate a Hashnode PAT (Personal Access Token) and paste it here.",
"link": "https://hashnode.com/settings/developer",
"placeholder": "Enter your Hashnode token."
},
{
"name": "username",
"type": "textfield",
"required": true,
"title": "Username",
"description": "Get your Hashnode username from: Profile > Profile Identity > Username.",
"link": "https://hashnode.com/settings",
"placeholder": "Enter your Hashnode username."
}
],
"dependencies": {
"@raycast/api": "^1.66.0",
"@apollo/client": "^3.8.9",
"node-fetch": "^3.3.2"
},
"devDependencies": {
"@raycast/eslint-config": "^1.0.6",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-apollo-client-helpers": "^2.2.6",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
"@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",
"generate": "rm -rf generated && graphql-codegen",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"publish": "npx @raycast/api@latest publish"
}
}