-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
150 lines (150 loc) · 4.82 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
{
"name": "vscode-st",
"displayName": "Structured Text language Support",
"description": "Supports for syntax highlights, snippets for IEC 61131-3 Structured Text",
"version": "1.12.33",
"publisher": "Serhioromano",
"sponsor": {
"url": "https://www.paypal.com/donate/?hosted_button_id=UTU4EMPLLLX54"
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"publish": "vsce package && gh release create $(node -pe \"require('./package.json')['version']\") --generate-notes \"./vscode-gitflow-$(node -pe \"require('./package.json')['version']\").vsix\" && vsce publish",
"_vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"vars": "env | grep npm_package_",
"test": "node ./out/test/runTest.js"
},
"main": "./out/extension.js",
"_main": "./out/main.js",
"repository": {
"type": "git",
"url": "https://github.com/Serhioromano/vscode-st"
},
"keywords": [
"ST",
"Structured Text",
"IEC 61131-3",
"PLC",
"TwinCAT3",
"CoDeSys",
"GX Works",
"logi.CAD 3"
],
"author": "Sergey Romanov",
"license": "MIT",
"bugs": {
"url": "https://github.com/Serhioromano/vscode-st/issues",
"email": "serg4172@mail.ru"
},
"homepage": "https://github.com/Serhioromano/vscode-st#readme",
"engines": {
"vscode": "^1.36.0"
},
"activationEvents": [
"onLanguage:st",
"onCommand:extension.st.autoformat"
],
"categories": [
"Programming Languages",
"Snippets",
"Formatters"
],
"icon": "icon.drawio.png",
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/vscode": "^1.36.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@vscode/test-electron": "^2.0.3",
"chevrotain": "^10.4.2",
"esbuild": "^0.14.10",
"eslint": "^8.6.0",
"glob": "^7.2.0",
"langium-cli": "^0.5.0",
"mocha": "^9.1.3",
"typescript": "^4.6.3",
"vsce": "^1.97.0"
},
"contributes": {
"configuration": {
"type": "object",
"title": "Structured Text configuration",
"properties": {
"st.format.enable": {
"type": "boolean",
"default": true,
"description": "Automatically convert constants like TRUE, FALSE, NULL, or types like INT, BOOL, ...and other keywords to upper case."
}
}
},
"languages": [
{
"id": "st",
"aliases": [
"Structured Text",
"ST"
],
"firstLine": "^([\\(\\/\\*]?.*)?(PROGRAM ).*",
"extensions": [
".st",
".scl",
".exp",
".vpl",
".iecplc",
".iecst",
".TcDUT",
".TcPOU",
".iecstl"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"scopeName": "source.st",
"language": "st",
"path": "./syntaxes/st.tmLanguage.json"
},
{
"scopeName": "markdown.iecst.codeblock",
"path": "./syntaxes/md.codeblock.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.iecstmd": "st"
}
},
{
"scopeName": "xml.iecst.codeblock",
"path": "./syntaxes/xml.codeblock.json",
"injectTo": [
"text.xml"
],
"embeddedLanguages": {
"meta.embedded.block.iecstxml": "st"
}
}
],
"snippets": [
{
"language": "st",
"path": "./snippets/st.snippets.json"
}
]
},
"dependencies": {
"langium": "^0.5.0",
"vscode-languageclient": "^8.0.2",
"vscode-languageserver": "^8.0.2"
}
}