forked from FuncFusion/mc-dp-icons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
155 lines (155 loc) · 5.35 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "mc-dp-icons",
"displayName": "Datapack Icons",
"description": "A fancy, minecraft-styled icon theme, designed specifically for datapack devs.",
"version": "3.1.0",
"publisher": "SuperAnt",
"author": {
"name": "FuncFusion"
},
"icon": "assets/2.0/logo.png",
"galleryBanner": {
"color": "#313338",
"theme": "dark"
},
"license": "GNU AFFERO GENERAL PUBLIC LICENSE",
"engines": {
"vscode": "^1.5.1"
},
"keywords": [
"minecraft",
"datapack",
"icons",
"theme",
"mc",
"dp",
"command",
"block",
"mcfunction",
"mcf"
],
"categories": [
"Themes",
"Visualization"
],
"repository": {
"type": "git",
"url": "https://github.com/SuperAnt220/mc-dp-icons"
},
"homepage": "https://github.com/SuperAnt220/mc-dp-icons",
"activationEvents": [
"onStartup",
"onWorkspaceFolderOpened",
"onStartupFinished"
],
"main": "./out/extension.js",
"browser": "./dist/web_extension.js",
"contributes": {
"iconThemes": [
{
"id": "mc-dp-icons",
"label": "Datapack Icons Theme",
"path": "./fileicons/mc-dp-icon-theme.json",
"_watch": true
}
],
"configuration": [
{
"title": "Datapack Icons",
"order": 0,
"properties": {
"mc-dp-icons.enableNamespaceIcons": {
"type": "boolean",
"title": "Changes namespace folders icons to an ender chest",
"default": true,
"markdownDescription": "If enabled, namespace folders (folders directly within `data` and `assets`) will change their icons to ender chests *(but only if there is `pack.mcmeta` in the same directory)*.\n\n*Warning: this feature is not currently supported for web VS Code.*"
},
"mc-dp-icons.hideFolderArrows": {
"type": "boolean",
"title": "Hide folder arrows",
"default": false,
"markdownDescription": "if enabled, the extension will hide folder arrows in the explorer.\n\n*Warning: this feature is not currently supported for web VS Code.*"
}
}
},
{
"title": "Dynamic theme change",
"order": 1,
"properties": {
"mc-dp-icons.enablePackMcmetaCheck": {
"type": "boolean",
"title": "Enable pack.mcmeta check",
"default": true,
"markdownDescription": "If enabled, the extension will check for `pack.mcmeta` in the workspace to set the theme to `mc-dp-icons` for the workspace"
}
}
},
{
"id": "loadTick",
"title": "Dynamic load and tick functions",
"order": 2,
"properties": {
"mc-dp-icons.enableLoadTickAutoChange": {
"type": "boolean",
"title": "Dynamic icons for tick and load functions",
"default": true,
"markdownDescription": "If enabled, load and tick functions will change their icons to repeating and impulse command blocks accordingly, based on values provided in `tick.json` and `load.json` files found in the workspace.\n\nIf not enabled, load and tick icons will be set by their names, that are set by the user in the settings below.\n\n*Warning: this feature is not currently supported for web VS Code.*"
},
"mc-dp-icons.functionNamesForTick": {
"title": "Tick function names",
"type": "array",
"items": {
"type": "string"
},
"markdownDescription": "**Only works if `#mc-dp-icons.enableLoadTickAutoChange#` is NOT enabled**. Put here all the names of function files (without `.mcfunction`) you'd like to have a repeating command block icon.\n\n*Warning: this feature is not currently supported for web VS Code.*"
},
"mc-dp-icons.functionNamesForLoad": {
"title": "Load function names",
"type": "array",
"items": {
"type": "string"
},
"markdownDescription": "**Only works if `#mc-dp-icons.enableLoadTickAutoChange#` is NOT enabled**. Put here all the names of function files (without `.mcfunction`) you'd like to have an impulse command block icon.\n\n*Warning: this feature is not currently supported for web VS Code.*"
}
}
},
{}
],
"commands": [
{
"title": "Datapack Icons: Open extension settings",
"command": "mc-dp-icons.DpIconsOpenSettings"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/lodash": "^4.14.202",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.5.1",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.8",
"@vscode/test-web": "^0.0.49",
"eslint": "^8.54.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"lodash": "^4.17.21"
}
}