/
package.json
104 lines (104 loc) · 3.15 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
{
"name": "crmscript",
"displayName": "crmscript",
"description": "crmscript language",
"version": "0.0.1",
"publisher": "sintef",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [],
"main": "./client/out/extension",
"contributes": {
"commands": [
{
"command": "cirrus.login",
"title": "Cirrus: Login"
},
{
"command": "cirrus.createProject",
"title": "Cirrus: Create Project"
},
{
"command": "cirrus.downloadToCurrentFolder",
"title": "Cirrus: Download scripts to the current folder"
},
{
"command": "cirrus.uploadAllInFolder",
"title": "Cirrus: Upload all in the current folder"
},
{
"command": "cirrus.executeScript",
"title": "Cirrus: Execute Script"
}
],
"languages": [
{
"id": "crmscript",
"aliases": [
"crmscript",
"CRMScript",
"EJScript"
],
"extensions": [
".crm",
".ej",
".crmscript",
".ejscript"
],
"configuration": "./client/language-configuration-crmscript.json"
}
],
"grammars": [
{
"language": "crmscript",
"scopeName": "source.crmscript",
"path": "./client/syntaxes/crmscript.tmLanguage.json"
}
],
"themes": [
{
"label": "CRMScriptTheme",
"uiTheme": "vs-dark",
"path": "./client/themes/CRMScriptTheme.json"
},
{
"label": "Sample Light",
"uiTheme": "vs",
"path": "./client/themes/Sample_Light.tmTheme"
},
{
"label": "Sample Dark",
"uiTheme": "vs-dark",
"path": "./client/themes/Sample_Dark.tmTheme"
}
],
"menus": {
"editor/title/context": [
{
"when": "resourceLangId == crmscript",
"command": "cirrus.executeScript",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "npm run compile-client && npm run compile-server && tsc -p ./",
"compile-client": "npx tsc -p ./client",
"compile-server": "npx tsc -p ./server",
"watch": "tsc -watch -p ./",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/express": "^4.17.17",
"@types/node": "^18.15.11",
"typescript": "^5.0.4"
}
}