-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 3.58 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 3.58 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
125
126
127
128
129
130
{
"name": "tuflow-path-validator",
"publisher": "Chain-Frost",
"displayName": "TUFLOW Path Validator",
"description": "Validate file paths referenced in TUFLOW control files.",
"version": "0.2.3",
"icon": "resources/icon.png",
"galleryBanner": {
"color": "#0b5ea8",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/Chain-Frost/tuflow_validator"
},
"homepage": "https://github.com/Chain-Frost/tuflow_validator#readme",
"bugs": {
"url": "https://github.com/Chain-Frost/tuflow_validator/issues"
},
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Programming Languages",
"Linters"
],
"keywords": [
"tuflow",
"tcf",
"tgc",
"tbc",
"trd",
"tef",
"ecf",
"qcf",
"path",
"validator",
"lint"
],
"activationEvents": [
"onLanguage:tuflow",
"workspaceContains:**/*.{tcf,tgc,tbc,trd,tef,ecf,qcf,tesf,tscf,trfc,toc}"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "TUFLOW Path Validator",
"properties": {
"tuflowValidator.diagnosticLevel": {
"type": "string",
"default": "hint",
"enum": [
"error",
"warning",
"info",
"hint",
"none"
],
"description": "Minimum diagnostic severity to display (error shows only errors; warning includes errors and warnings; info includes info; hint includes all; none disables diagnostics)."
},
"tuflowValidator.enableLatestVersionChecks": {
"type": "boolean",
"default": true,
"description": "Check versioned filenames to ensure the latest referenced files are used."
},
"tuflowValidator.enableIfStatementChecks": {
"type": "boolean",
"default": true,
"description": "Validate that If/Define Event/Start Domain blocks are properly closed with matching End statements."
},
"tuflowValidator.enableIfStatementFormatting": {
"type": "boolean",
"default": false,
"description": "Format If/Else/End If, Define Event, and Start Domain blocks with tab-indented nesting."
}
}
},
"languages": [
{
"id": "tuflow",
"aliases": [
"TUFLOW",
"tuflow"
],
"extensions": [
".tcf",
".tgc",
".tbc",
".trd",
".tef",
".ecf",
".qcf",
".tesf",
".tscf",
".trfc",
".toc"
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"test:container": "bash scripts/test-container.sh",
"package:vsix": "bash scripts/package-vsix.sh",
"publish:vsix": "npx vsce publish -p \"$VSCE_PAT\"",
"publish:vsix:pre": "npm run package:vsix",
"publish:ovsx": "npx ovsx publish -p \"$OVSX_PAT\"",
"publish:all": "npm run publish:vsix && npm run publish:ovsx"
},
"devDependencies": {
"@types/vscode": "^1.70.0",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "^8.26.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"typescript": "^4.8.4",
"@vscode/test-electron": "^2.2.0",
"@vscode/vsce": "^2.26.0",
"ovsx": "^0.9.1"
}
}