/
package.json
93 lines (93 loc) · 2.57 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
{
"name": "langium-arithmetics-dsl",
"displayName": "Arithmetics DSL",
"version": "3.0.0",
"description": "Example language built with Langium",
"homepage": "https://langium.org",
"engines": {
"vscode": "^1.67.0"
},
"license": "MIT",
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "arithmetics",
"aliases": [
"Arithmetics",
"arithmetics"
],
"extensions": [
".calc"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "arithmetics",
"scopeName": "source.arithmetics",
"path": "./syntaxes/arithmetics.tmLanguage.json"
}
]
},
"activationEvents": [
"onLanguage:arithmetics"
],
"files": [
"bin",
"out",
"src",
"syntaxes",
"language-configuration.json"
],
"bin": {
"arithmetics-cli": "./bin/cli.js"
},
"type": "module",
"main": "./out/extension.cjs",
"exports": {
".": {
"types": "./out/extension.d.ts",
"default": "./out/extension.js"
},
"./api": {
"types": "./out/language-server/generated/ast.d.ts",
"default": "./out/language-server/generated/ast.js"
}
},
"scripts": {
"build": "node esbuild.mjs",
"watch": "node esbuild.mjs --watch",
"lint": "eslint src test --ext ts",
"langium:generate": "langium generate",
"publish:next": "npm --no-git-tag-version version \"$(semver $npm_package_version -i minor)-next.$(git rev-parse --short HEAD)\" && npm publish --tag next",
"publish:latest": "npm publish --tag latest --access public"
},
"dependencies": {
"chalk": "~5.3.0",
"commander": "~11.0.0",
"langium": "~3.0.0",
"vscode-languageclient": "~9.0.1",
"vscode-languageserver": "~9.0.1"
},
"devDependencies": {
"langium-cli": "~3.0.3"
},
"volta": {
"node": "18.19.1",
"npm": "10.2.4"
},
"repository": {
"type": "git",
"url": "https://github.com/eclipse-langium/langium",
"directory": "examples/arithmetics"
},
"bugs": "https://github.com/eclipse-langium/langium/issues",
"author": {
"name": "TypeFox",
"url": "https://www.typefox.io"
}
}