-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
114 lines (114 loc) · 3.79 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
{
"name": "langium-minilogo",
"displayName": "MiniLogo",
"icon": "icon.png",
"type": "module",
"keywords": [
"minilogo",
"langium",
"typefox",
"graphics"
],
"publisher": "TypeFox",
"description": "An implementation of the MiniLogo Language in Langium",
"version": "3.0.1",
"engines": {
"vscode": "^1.56.0",
"node": ">=16"
},
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "minilogo",
"aliases": [
"Mini Logo",
"minilogo"
],
"extensions": [
".logo"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "minilogo",
"scopeName": "source.minilogo",
"path": "./syntaxes/minilogo.tmLanguage.json"
}
]
},
"activationEvents": [
"onLanguage:minilogo"
],
"files": [
"bin",
"out",
"public",
"src",
"syntaxes"
],
"bin": {
"minilogo-cli": "bin/minilogo.js"
},
"exports": "./out/extension.cjs",
"main": "./out/extension.cjs",
"scripts": {
"lint": "eslint src --ext ts",
"clean": "shx rm -rf ./public; shx rm -rf ./out",
"vscode:prepublish": "npm run langium:generate && npm run build:extension && npm run lint",
"build": "npm run clean && npm run build:web && npm run build:extension",
"build:extension": "npm run esbuild:extension && npm run esbuild:ls",
"esbuild:extension": "esbuild ./src/extension.ts --bundle --outfile=out/extension.cjs --external:vscode --format=cjs --platform=node",
"esbuild:ls": "esbuild ./src/language-server/main.ts --bundle --outfile=out/language-server/main.cjs --format=cjs --platform=node",
"build:web": "npm run build:tsc && npm run prepare:public && npm run build:worker && node scripts/copy-monaco-assets.mjs",
"build:tsc": "tsc -b tsconfig.json",
"build:worker": "esbuild --minify ./out/language-server/main-browser.js --bundle --format=iife --outfile=./public/minilogo-server-worker.js",
"prepare:public": "node scripts/prepare-public.mjs",
"watch": "tsc -b tsconfig.json --watch",
"langium:generate": "langium generate",
"langium:watch": "langium generate --watch",
"generate:test": "./bin/minilogo.js generate ./examples/simple.logo",
"generate:logo": "./bin/minilogo.js generate ./examples/langium.logo",
"serve": "node ./out/web/app.js"
},
"dependencies": {
"colors": "~1.4.0",
"commander": "~12.0.0",
"langium": "~3.0.0",
"monaco-editor-wrapper": "~4.0.1",
"vscode-languageclient": "~9.0.1",
"vscode-languageserver": "~9.0.1",
"vscode-languageserver-protocol": "~3.17.5",
"vscode-languageserver-types": "~3.17.5",
"vscode-jsonrpc": "~8.2.0"
},
"devDependencies": {
"@types/node": "~18.19.25",
"@types/vscode": "~1.87.0",
"@typescript-eslint/eslint-plugin": "~7.3.1",
"@typescript-eslint/parser": "~7.3.1",
"@vscode/vsce": "~2.21.0",
"esbuild": "~0.20.2",
"eslint": "~8.57.0",
"langium-cli": "~3.0.1",
"shx": "~0.3.4",
"typescript": "~5.4.3"
},
"volta": {
"node": "18.19.1",
"npm": "10.2.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/langium/langium-minilogo.git"
},
"bugs": "https://github.com/langium/langium-minilogo/issues",
"author": {
"name": "TypeFox",
"url": "https://www.typefox.io"
}
}