-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.72 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.72 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
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
{
"name": "tctidier",
"displayName": "TcTidier",
"description": "Format TwinCAT Structured Text files with a native TypeScript formatter.",
"version": "0.1.4",
"publisher": "CodePiercerTechnologies",
"license": "MIT",
"icon": "media/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/CodePiercerTechnology/TcTidier.git"
},
"homepage": "https://github.com/CodePiercerTechnology/TcTidier",
"bugs": {
"url": "https://github.com/CodePiercerTechnology/TcTidier/issues"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Formatters",
"Programming Languages"
],
"keywords": [
"twincat",
"structured-text",
"iec-61131-3",
"plc",
"formatter"
],
"scripts": {
"clean": "node -e \"require('fs').rmSync('out', { recursive: true, force: true })\"",
"build": "tsc -p .",
"watch": "tsc -w -p .",
"test:unit:only": "node --test tests/*.test.js",
"test:unit": "npm run build && npm run test:unit:only",
"test:integration:only": "node tests/integration/runTest.js",
"test:integration": "npm run build && npm run test:integration:only",
"test": "npm run build && npm run test:unit:only && npm run test:integration:only",
"bench:only": "node benchmarks/native-benchmark.js",
"bench": "npm run build && npm run bench:only",
"bench:compare:only": "node benchmarks/compare-benchmark.js",
"bench:compare": "npm run build && npm run bench:compare:only",
"verify": "npm run build && npm run test:unit:only && npm run test:integration:only && npm run bench:compare:only",
"package:vsix": "vsce package",
"release:check": "npm run package:vsix",
"vscode:prepublish": "npm run verify"
},
"main": "./out/extension.js",
"files": [
"out/**",
"media/**",
"README.md",
"CHANGELOG.md",
"LICENSE",
"language-configuration.json"
],
"extensionKind": [
"workspace"
],
"activationEvents": [
"onLanguage:structured-text",
"onLanguage:iecst",
"onLanguage:iec-st"
],
"contributes": {
"languages": [
{
"id": "twincat-st",
"aliases": [
"TwinCAT Structured Text",
"TwinCAT ST"
],
"extensions": [
".TcPOU",
".TcGVL",
".TcDUT",
".TcIO",
".st",
".iecst"
],
"configuration": "./language-configuration.json"
}
],
"commands": [
{
"command": "tctidier.formatDocument",
"title": "TcTidier: Format Current Document",
"icon": "$(wand)"
},
{
"command": "tctidier.formatWorkspace",
"title": "TcTidier: Format Workspace TwinCAT Files",
"icon": "$(symbol-array)"
}
],
"menus": {
"editor/title": [
{
"command": "tctidier.formatDocument",
"group": "navigation@100",
"when": "editorTextFocus && (editorLangId == twincat-st || editorLangId == structured-text || editorLangId == iecst || editorLangId == iec-st || resourceFilename =~ /.*\\.(TcPOU|TcGVL|TcDUT|TcIO|tcpou|tcgvl|tcdut|tcio|st|iecst)$/)"
},
{
"command": "tctidier.formatWorkspace",
"group": "navigation@101",
"when": "editorTextFocus && (editorLangId == twincat-st || editorLangId == structured-text || editorLangId == iecst || editorLangId == iec-st || resourceFilename =~ /.*\\.(TcPOU|TcGVL|TcDUT|TcIO|tcpou|tcgvl|tcdut|tcio|st|iecst)$/)"
}
]
},
"configuration": {
"title": "TcTidier",
"properties": {}
}
},
"devDependencies": {
"@types/node": "^24.0.0",
"@types/vscode": "^1.85.0",
"@vscode/vsce": "^3.6.1",
"@vscode/test-electron": "^2.5.2",
"ovsx": "^0.10.9",
"typescript": "^5.9.2"
}
}