-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
119 lines (119 loc) · 3.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
{
"name": "vscode-filesize",
"displayName": "filesize",
"description": "Show the current file size in the status bar",
"version": "3.2.2",
"icon": "icon.png",
"publisher": "mkxml",
"repository": {
"type": "git",
"url": "https://github.com/mkxml/vscode-filesize"
},
"keywords": [
"file",
"size",
"filesize",
"status bar",
"info"
],
"license": "MIT",
"engines": {
"vscode": "^1.54.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension",
"extensionKind": [
"workspace"
],
"contributes": {
"commands": [
{
"command": "extension.toggleFilesizeInfo",
"title": "Toggle filesize detailed information"
}
],
"keybindings": [
{
"command": "extension.toggleFilesizeInfo",
"key": "ctrl+shift+'",
"mac": "cmd+shift+'",
"when": "editorTextFocus"
}
],
"configuration": {
"type": "object",
"title": "filesize configuration",
"properties": {
"filesize.useDecimal": {
"type": "boolean",
"default": false,
"description": "Defaults to false, using IEC's representation. Set to true to get SI representation."
},
"filesize.use24HourFormat": {
"type": "boolean",
"default": true,
"description": "Defaults to true, using 24-hour format. Set to false to get 12-hour format."
},
"filesize.showGzip": {
"type": "boolean",
"default": true,
"description": "Defaults to true, whether to show gzip size in detailed view or not."
},
"filesize.showBrotli": {
"type": "boolean",
"default": false,
"description": "Defaults to false, whether to show brotli size in the detailed view."
},
"filesize.showRawInBytes": {
"type": "boolean",
"default": false,
"description": "Defaults to false, whether to show raw size in bytes in the detailed view."
},
"filesize.showGzipInStatusBar": {
"type": "boolean",
"default": false,
"description": "Defaults to false, whether to show gzip size in the status bar."
},
"filesize.showBrotliInStatusBar": {
"type": "boolean",
"default": false,
"description": "Defaults to false, whether to show brotli size in the status bar."
},
"filesize.displayInfoOnTheRightSideOfStatusBar": {
"type": "boolean",
"default": false,
"description": "Defaults to false, whether to show the filesize info on the right side of the status bar."
}
}
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test": "node test/runTests.js"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@types/mocha": "^10.0.9",
"@types/node": "^22.8.6",
"@types/vscode": "^1.54.0",
"babel-loader": "^9.2.1",
"eslint": "^8.2.0",
"glob": "^11.0.0",
"mocha": "^10.8.2",
"typescript": "^5.6.3",
"vscode-test": "^1.5.1",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"filesize-calculator": "^4.1.0"
}
}