generated from microsoft/vscode-python-tools-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
154 lines (154 loc) · 5.43 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
151
152
153
154
{
"name": "opshin",
"displayName": "OpShin Linter",
"description": "Linting support for Smart Contracts in Python using opshin",
"version": "0.1.3",
"preview": true,
"serverInfo": {
"name": "OpShin Linter",
"module": "OpShin"
},
"publisher": "OpShinDev",
"license": "MIT",
"homepage": "https://github.com/OpShin/opshin-vscode",
"repository": {
"type": "git",
"url": "https://github.com/OpShin/opshin-vscode.git"
},
"bugs": {
"url": "https://github.com/OpShin/opshin-vscode/issues"
},
"galleryBanner": {
"color": "#070F23",
"theme": "dark"
},
"icon": "images/logo.png",
"keywords": [
"python",
"opshin",
"cardano",
"plutus",
"linter"
],
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages",
"Linters"
],
"extensionDependencies": [
"ms-python.python"
],
"activationEvents": [
"onLanguage:python",
"workspaceContains:*.py"
],
"main": "./dist/extension.js",
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool source-map --config ./webpack.config.js",
"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",
"format-check": "prettier --check 'src/**/*.ts' 'build/**/*.yml' '.github/**/*.yml'",
"test": "node ./out/test/runTest.js",
"vsce-package": "vsce package -o opshin.vsix"
},
"contributes": {
"configuration": {
"properties": {
"opshin.args": {
"default": [],
"description": "Arguments passed in. Each argument is a separate item in the array.",
"items": {
"type": "string"
},
"scope": "resource",
"type": "array"
},
"opshin.path": {
"default": [],
"description": "When set to a path to opshin binary, extension will use that. NOTE: Using this option may slowdown server response time.",
"scope": "resource",
"items": {
"type": "string"
},
"type": "array"
},
"opshin.importStrategy": {
"default": "fromEnvironment",
"description": "Defines where `opshin` is imported from. This setting may be ignored if `opshin.path` is set.",
"enum": [
"useBundled",
"fromEnvironment"
],
"enumDescriptions": [
"Always use the bundled version of `opshin`.",
"Use `opshin` from environment, fallback to bundled version only if `opshin` not available in the environment."
],
"scope": "window",
"type": "string"
},
"opshin.interpreter": {
"default": [],
"description": "When set to a path to python executable, extension will use that to launch the server and any subprocess.",
"scope": "resource",
"items": {
"type": "string"
},
"type": "array"
},
"opshin.showNotifications": {
"default": "off",
"description": "Controls when notifications are shown by this extension.",
"enum": [
"off",
"onError",
"onWarning",
"always"
],
"enumDescriptions": [
"All notifications are turned off, any errors or warning are still available in the logs.",
"Notifications are shown only in the case of an error.",
"Notifications are shown for errors and warnings.",
"Notifications are show for anything that the server chooses to show."
],
"scope": "machine",
"type": "string"
}
}
},
"commands": [
{
"title": "Restart Server",
"category": "OpShin Linter",
"command": "opshin.restart"
}
]
},
"dependencies": {
"fs-extra": "^11.1.1",
"vscode-languageclient": "^8.1.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.1",
"@types/vscode": "1.75.0",
"@types/glob": "^8.1.0",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.2.1",
"@vscode/test-electron": "^2.3.2",
"@vscode/vsce": "^2.21.0",
"eslint": "^8.48.0",
"glob": "^10.3.4",
"prettier": "^3.0.3",
"typescript": "^5.1.6",
"ts-loader": "^9.4.3",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.4"
}
}