-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.86 KB
/
Copy pathpackage.json
File metadata and controls
129 lines (129 loc) · 3.86 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
{
"name": "osc-language-server",
"icon": "flame128.jpg",
"displayName": "Finvi Language Server",
"description": "Finvi Language Server",
"author": "Logan Mullet",
"license": "MIT",
"version": "0.1.3",
"repository": {
"type": "git",
"url": "git:https://github.com/LogMull/vscode-language-server.git"
},
"categories": [],
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.75.0"
},
"activationEvents": [
"onLanguage:objectscript-class"
],
"extensionDependencies": [
"intersystems.language-server"
],
"main": "./client/out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Finvi Language Server",
"properties": {
"osc.language-server.requireModifications": {
"type": "boolean",
"default": true,
"description": "Require modification in document to show diagnostics."
}
}
},
"menus": {
"editor/context": [
{
"command": "osc.language-server.toggleAllLint",
"when": "vscode-objectscript.connectActive && editorLangId == objectscript-class",
"group": "1_modification@95"
},
{
"command": "osc.language-server.toggleCurrentLint",
"when": "vscode-objectscript.connectActive && editorLangId == objectscript-class",
"group": "1_modification@96"
},
{
"command": "osc.language-server.fixAll",
"when": "vscode-objectscript.connectActive && editorLangId == objectscript-class",
"group": "1_modification@97"
},
{
"command": "osc.language-server.fixTypes",
"when": "vscode-objectscript.connectActive && editorLangId == objectscript-class",
"group": "1_modification@98"
},
{
"command": "osc.language-server.fixSelection",
"when": "vscode-objectscript.connectActive && editorLangId == objectscript-class && editorHasSelection",
"group": "1_modification@99"
}
]
},
"commands": [
{
"command": "osc.language-server.fixAll",
"title": "Fix All Problems in Document",
"category": "Finvi Language Server"
},
{
"command": "osc.language-server.fixSelection",
"title": "Fix All Problems in Selection",
"category": "Finvi Language Server"
},
{
"command": "osc.language-server.fixTypes",
"title": "Fix Problems in Document by Type",
"category": "Finvi Language Server"
},
{
"command": "osc.language-server.gotosymbol",
"title": "Go to symbol with offset"
},
{
"command": "osc.language-server.toggleAllLint",
"title": "Toggle all linting"
},
{
"command": "osc.language-server.toggleCurrentLint",
"title": "Toggle linting for current file"
}
]
},
"scripts": {
"vscode:prepublish": "npm run webpack",
"webpack": "npm run clean && webpack --mode production --config ./client/webpack.config.js && webpack --mode production --config ./server/webpack.config.js",
"webpack:dev": "npm run clean && webpack --mode none --config ./client/webpack.config.js && webpack --mode none --config ./server/webpack.config.js",
"compile": "tsc -b",
"compile:client": "tsc -b ./client/tsconfig.json",
"compile:server": "tsc -b ./server/tsconfig.json",
"watch": "tsc -b -w",
"lint": "npm run lint:client && npm run lint:server",
"lint:client": "eslint --config ./client/.eslintrc.json ./client/src/*.ts",
"lint:server": "eslint --config ./server/.eslintrc.json ./server/src/*.ts",
"clean": "rimraf client/out && rimraf server/out",
"postinstall": "cd client && npm install && cd ../server && npm install && cd .."
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@types/node": "^16.18.34",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"copy-webpack-plugin": "^11.0.0",
"eslint": "^8.57.0",
"merge-options": "^3.0.4",
"mocha": "^9.2.1",
"typescript": "^5.3.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"node-loader": "^2.0.0",
"ts-loader": "^9.5.1"
}
}