-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.73 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
{
"name": "ocen",
"displayName": "Ocen",
"description": "Ocen Language Support",
"repository": "https://github.com/ocen-lang/ocen-vscode",
"publisher": "MustafaQuraish",
"icon": "icons/ocen-light.png",
"version": "1.1.7",
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"activationEvents": [
"onLanguage:ocen"
],
"main": "out/client/src/extension.js",
"contributes": {
"commands": [
{
"command": "extension.rescanDocument",
"title": "Ocen: Rescan Document"
}
],
"languages": [
{
"id": "ocen",
"aliases": [
"ocen"
],
"extensions": [
".oc"
],
"icon": {
"light": "icons/ocen-light.png",
"dark": "icons/ocen-dark.png"
},
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "ocen",
"scopeName": "source.ocen",
"path": "./syntaxes/ocen.tmLanguage.json"
}
],
"snippets": [
{
"language": "ocen",
"path": "./snippets/ocen.json"
}
],
"configuration": {
"type": "object",
"title": "Ocen",
"properties": {
"ocenLanguageServer.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"ocenLanguageServer.compiler.executablePath": {
"scope": "resource",
"type": "string",
"default": "ocen",
"description": "The path to the ocen compiler executable."
},
"ocenLanguageServer.maxCompilerInvocationTime": {
"scope": "resource",
"type": "number",
"default": 5000,
"description": "The maximum time in milliseconds that the compiler is allowed to take to process a file."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run lint && npm run compile",
"esbuild-base": "npx esbuild server/src/server.ts client/src/extension.ts --bundle --outdir=out --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap --minify",
"compile": "npm run esbuild",
"install-code-dep": "code --install-extension connor4312.esbuild-problem-matchers && code --install-extension dbaeumer.vscode-eslint",
"install": "cd server && npm install && cd ../client && npm install && cd .. && npm run install-code-dep",
"watch": "npm run esbuild-base -- --sourcemap --watch",
"lint": "npx eslint ./client/src ./server/src --ext .ts,.tsx",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@types/node": "^16.11.7",
"@types/tmp": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"esbuild": "^0.14.42",
"eslint": "^8.13.0",
"mocha": "^9.2.1",
"typescript": "^4.7.2",
"vsce": "^2.11.0"
},
"dependencies": {
"@types/vscode": "^1.67.0",
"ocen-lsp-server": "file:server",
"lsp-sample-client": "file:client"
}
}