-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.7 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 1.7 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
{
"name": "json-len",
"displayName": "json-len",
"description": "Show length of json array.",
"version": "0.1.1",
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/kongtaoxing/json-len.git"
},
"engines": {
"vscode": "^1.96.2"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:json"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "json-len.beautifyPreview",
"title": "%command.beautifyPreview.title%"
}
],
"configuration": {
"title": "JSON Length Viewer",
"properties": {
"jsonLen.maxFileSize": {
"type": "number",
"default": 10,
"markdownDescription": "%config.maxFileSize.description%"
},
"jsonLen.fileSizeUnit": {
"type": "string",
"enum": [
"KB",
"MB",
"GB"
],
"default": "MB",
"markdownDescription": "%config.fileSizeUnit.description%"
}
}
}
},
"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"
},
"dependencies": {
"jsonc-parser": "^2.3.1"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.96.2",
"@typescript-eslint/eslint-plugin": "^8.25.0",
"@typescript-eslint/parser": "^8.25.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.21.0",
"typescript": "^5.7.3"
},
"publisher": "kongtaoxing"
}