-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
133 lines (133 loc) · 4.13 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
{
"name": "codfsh",
"displayName": "codfsh",
"description": "Wrapper for SUSHI Shorthand and Hapi Validator to provide propper warning and error messages in VS ",
"version": "1.0.11",
"publisher": "gematikde",
"icon": "./images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/gematik/codfsh/"
},
"engines": {
"vscode": "^1.62.3"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:json",
"onLanguage:fsh",
"workspaceContains:**/sushi-config.yaml"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Codfsh",
"properties": {
"codfsh.HapiValidator.Executable": {
"type": "string",
"default": "~/.fhir/validators/validator_cli.jar",
"scope": "resource",
"description": "Specifies the destination of the hapi hapiValidator."
},
"codfsh.HapiValidator.Settings.SettingsFile": {
"type": "string",
"default": "~/.fhir/settings/fhir-settings.yaml",
"scope": "resource",
"markdownDescription": "The location of an optional YAML file for reading additional parameters. For an example YAML File refer to the [extension Readme](https://github.com/gematik/codfsh/blob/main/README.md). For possible additional parameters, see the [FHIR Validator documentation](https://confluence.hl7.org/pages/viewpage.action?pageId=35718580#UsingtheFHIRValidator-OtherValidationParameters)."
},
"codfsh.HapiValidator.Settings.AdditionalParameters": {
"type": "string",
"default": "-debug",
"scope": "resource",
"markdownDescription": "Additional validation parameters that affect validation. For possible additional parameters, check the [FHIR Validator documentation](https://confluence.hl7.org/pages/viewpage.action?pageId=35718580#UsingtheFHIRValidator-OtherValidationParameters)."
},
"codfsh.Sushi.Settings.BuildSnapshots": {
"type": "boolean",
"default": false,
"scope": "resource",
"description": "Generate Snapshots"
},
"codfsh.Sushi.Settings.CheckPackages": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "Check Packages before build"
}
}
},
"commands": [
{
"command": "codfsh.runSushi",
"title": "Run Sushi"
},
{
"command": "codfsh.runSushi.snapshot",
"title": "Run Sushi with Snapshots"
},
{
"command": "codfsh.runHapi",
"title": "Run Hapi validator",
"icon": "$(play)"
},
{
"command": "codfsh.runAll",
"title": "Run Sushi and Hapi on all Files"
}
],
"keybindings": [
{
"command": "codfsh.runSushi",
"key": "f5",
"mac": "f5"
},
{
"command": "codfsh.runSushi.snapshot",
"key": "f6",
"mac": "f6"
},
{
"command": "codfsh.runHapi",
"key": "Shift+f5",
"mac": "Shift+f5"
},
{
"command": "codfsh.runAll",
"key": "f8",
"mac": "f8"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/js-yaml": "^4.0.5",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.62.3",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vscode/test-electron": "^2.2.0",
"eslint": "^8.28.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"ts-loader": "^9.4.1",
"typescript": "^4.9.3",
"webpack": "^5.75.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"js-yaml": "^4.1.0"
}
}