-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
67 lines (67 loc) · 2.31 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
{
"name": "scala",
"displayName": "Scala Syntax (official)",
"description": "Official Scala Syntax",
"version": "0.5.7",
"publisher": "scala-lang",
"license": "SEE LICENSE IN LICENSE.md",
"engines": {
"vscode": "^1.5.0"
},
"homepage": "https://github.com/scala/vscode-scala-syntax/blob/main/README.md",
"repository": {
"type": "git",
"url": "https://github.com/scala/vscode-scala-syntax.git"
},
"icon": "images/smooth-spiral.png",
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "scala",
"aliases": [
"Scala",
"scala"
],
"extensions": [
".scala",
".sbt",
".sc"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "scala",
"scopeName": "source.scala",
"path": "./syntaxes/Scala.tmLanguage.json"
}
]
},
"devDependencies": {
"@types/node": "^14.6.4",
"ajv": "^6.12.4",
"github-changes": "^2.0.2",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"ts-node": "^9.0.0",
"typescript": "^4.0.2",
"vsce": "^2.7.0",
"vscode-tmgrammar-test": "0.0.11"
},
"scripts": {
"clean": "rimraf scala-*.vsix",
"vscode:prepublish": "test -f ./syntaxes/Scala.tmLanguage.json",
"vscode:publish": "vsce publish --yarn",
"build": "npm-run-all build:syntax build:extension",
"build:syntax": "ts-node src/typescript/GenerateTmLanguageFile.ts > ./syntaxes/Scala.tmLanguage.json",
"build:extension": "vsce package --yarn",
"test": "npm-run-all test:*",
"test:unit": "vscode-tmgrammar-test -s source.scala -g syntaxes/Scala.tmLanguage.json -t 'tests/unit/**/*.test.scala'",
"test:snap": "vscode-tmgrammar-snap -s source.scala -g syntaxes/Scala.tmLanguage.json -t 'tests/snap/**/*.test.scala'",
"update:snapshots": "vscode-tmgrammar-snap --updateSnapshot -s source.scala -g syntaxes/Scala.tmLanguage.json -t 'tests/snap/**/*.test.scala'"
}
}