-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
82 lines (82 loc) · 2.45 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
{
"name": "lox-lsp",
"displayName": "Lox LSP",
"description": "LSP server for the lox language",
"version": "0.0.2",
"publisher": "fabianjakobs",
"license": "Apache-2.0",
"icon": "images/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/fjakobs/jslox"
},
"engines": {
"vscode": "^1.77.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:lox"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "lox",
"aliases": [
"Lox",
"lox"
],
"extensions": [
".lox"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "lox",
"scopeName": "source.lox",
"path": "./syntaxes/lox.tmLanguage.json"
}
]
},
"scripts": {
"package": "vsce package",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"fix": "prettier --write '**/*.{ts,js,json,md}'",
"lint": "eslint src --ext ts && prettier --check '**/*.{ts,js,json,md}'",
"test": "npm run lox:test && npm run ext:test",
"ext:test": "node ./out/test/runTest.js",
"lox": "ts-node src/jslox/main.ts",
"lox:generate": "ts-node src/jslox/astGenerator.ts > src/jslox/Expr.ts",
"lox:test": "ts-mocha 'src/jslox/**/*.test.ts'"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.77.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vscode/test-electron": "^2.3.0",
"@vscode/vsce": "^2.18.0",
"eslint": "^8.36.0",
"generate-changelog": "^1.8.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"prettier": "^2.8.7",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"dependencies": {
"vscode-languageclient": "^8.1.0",
"vscode-languageserver": "^8.1.0",
"vscode-languageserver-textdocument": "^1.0.8"
}
}