-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.3 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 2.3 KB
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
{
"name": "cat-laughs-jokes",
"icon": "icon.png",
"publisher": "emfinity-interactive",
"displayName": "Cat Laughs Jokes",
"description": "Cat Laughs Jokes brings you random jokes with a fun icon inspired by my own cat. Enjoy jokes that could make my cat laugh during your coding breaks!",
"version": "0.0.1",
"engines": {
"vscode": "^1.102.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "joke-extension.showJoke",
"title": "Show me a joke!"
}
],
"configuration": {
"type": "object",
"title": "Joke Extension Settings",
"properties": {
"jokeExtension.category": {
"type": "string",
"default": "Any",
"enum": ["Any", "Programming", "Misc", "Dark", "Pun", "Spooky", "Christmas"],
"description": "Default joke category. Select 'Any' to get jokes from all categories."
},
"jokeExtension.language": {
"type": "string",
"default": "en",
"enum": ["en", "de", "es", "fr", "pt"],
"description": "Default joke language"
},
"jokeExtension.interval": {
"type": "number",
"default": 0,
"description": "Interval in minutes for scheduled jokes (0 to disable)"
},
"jokeExtension.modal": {
"type": "boolean",
"default": true,
"description": "Show jokes in modal notification (center of screen) or normal notification (bottom right)."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.102.0",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"eslint": "^9.25.1",
"typescript": "^5.8.3"
},
"repository": {
"type": "git",
"url": "https://github.com/Emfinity-Interactive/Joke-Extension.git"
},
"dependencies": {
"node-fetch": "^3.3.2"
}
}