-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
150 lines (150 loc) · 5.26 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "xeto-extension",
"description": "A xeto extension",
"displayName": "Xeto",
"license": "BSD-3",
"version": "0.1.33",
"categories": [],
"keywords": [
"multi-root ready"
],
"publisher": "novo-studio",
"repository": {
"url": "https://github.com/Novo-Int/xeto-vscode-extension"
},
"engines": {
"vscode": "^1.73.0"
},
"activationEvents": [
"onLanguage:xeto"
],
"main": "./client/out/extension",
"browser": "./client/dist/browserClientMain",
"contributes": {
"languages": [
{
"id": "xeto",
"extensions": [
".xeto"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "xeto",
"scopeName": "source.xeto",
"path": "./syntaxes/xeto.tmLanguage.json",
"embeddedLanguages": {
"source.svg": "svg",
"meta.embedded.block.svg": "svg",
"source.html": "html",
"meta.embedded.block.html": "html",
"source.xml": "xml",
"meta.embedded.block.xml": "xml"
}
}
],
"configuration": {
"type": "object",
"title": "Xeto",
"properties": {
"xeto.libraries.sys": {
"type": "string",
"default": "2bbf12983eda97fb1e22de80e8356c91fd1ae881",
"markdownDescription": "Specifies the GIT **sha** for the desired version of sys libraries. The content of the libraries will be download from GH based on the provided **sha**."
},
"xeto.libraries.external": {
"type": "array",
"default": [],
"markdownDescription": "A list of locations for external libraries.\nThe entries can be either: \n* strings\n * this needs to be a path to the local file system that vscode can access\n * if the folder contains a **lib.xeto** file then it is treated as a single library\n * if **lib.xeto** is missing, then each folder (just one level deep) is searched and considered a lib if **lib.xeto** exists\n * anything else is ignored\n* an object that describes the desired library. This is mostly used for **URLs**. The object should have the following structure\n * **name**: name of the lib\n * **lib**: URL path to **lib.xeto** file. Version and docs will be read from this\n * **files**: a string array with the URL to all the files of the lib\n\n Example of a lib entry: \n \n{\n \"name\": \"fakelib\",\n \"lib\": \"https://ex.com/fakelib/lib.xeto\",\n \"files\": [\n \"https://ex.com/fakelib/meta.xeto\"\n \"https://ex.com/fakelib/tags.xeto\"\n ]\n}\n \nIn case of name clashing libraries at **the top** of the array take precedence over libraries of the same name but **lower** in the array."
}
}
},
"semanticTokenTypes": [
{
"id": "docLink",
"superType": "type",
"description": "Token type for links in docs"
},
{
"id": "dataInstance",
"superType": "decorator",
"description": "Data istance"
}
],
"configurationDefaults": {
"[xeto]": {
"editor.semanticHighlighting.enabled": true
},
"editor.semanticTokenColorCustomizations": {
"enabled": true,
"rules": {
"label": {
"foreground": "#0cd319",
"bold": true,
"underline": false,
"italic": true
},
"namespace": {
"foreground": "#002fff",
"bold": true
},
"docLink": {
"foreground": "#12a4d1",
"bold": true
},
"dataInstance": {
"foreground": "#b4af1f",
"bold": true
}
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b && webpack --mode production --devtool hidden-source-map",
"compile-web": "webpack --devtool hidden-source-map",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"format": "prettier --ignore-path .gitignore --write \"**/*.ts\"",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "sh ./scripts/e2e.sh",
"deploy": "vsce publish",
"test-web": "npm run compile-web && vscode-test-web --browserType=chromium --verbose --extensionDevelopmentPath=. ./web-test-data"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@types/node": "^16.18.23",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"@vscode/test-web": "^0.0.48",
"@vscode/vsce": "^2.16.0",
"buffer": "^6.0.3",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"mocha": "^9.2.1",
"path-browserify": "^1.0.1",
"prettier": "2.8.8",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4",
"webpack": "^5.79.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"assert": "^2.0.0",
"constants-browserify": "^1.0.0",
"fs": "^0.0.1-security",
"https-browserify": "^1.0.0",
"process": "^0.11.10",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"url": "^0.11.0"
}
}