-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.84 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.84 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
{
"name": "swift-json-formatter",
"displayName": "Swift JSON Formatter",
"description": "Swift and easy way to format JSON",
"icon": "swift-json-formatter.png",
"publisher": "apertacodex",
"pricing": "Free",
"version": "1.3.15",
"repository": {
"url": "https://github.com/apertacodex/swift-json-formatter.git",
"type": "git"
},
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Formatters",
"Other"
],
"activationEvents": [
"onCommand:extension.formatJson"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "extension.formatJson",
"title": "Format JSON (Swift Json Formatter)"
}
],
"keybindings": [
{
"command": "extension.formatJson",
"key": "ctrl+shift+f",
"mac": "cmd+shift+f",
"when": "editorTextFocus"
}
]
},
"scripts": {
"lint": "eslint ./extension.js",
"pretest": "npm run lint",
"test": "node ./test/runTest.js",
"test:unit": "npx mocha test/suite/formatter.test.js",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild extension.js --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.82.0",
"@vscode/test-electron": "^2.3.4",
"esbuild": "^0.19.3",
"eslint": "^8.47.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"typescript": "^5.1.6"
}
}