forked from mtayler/Libconfig-VsCode-Support
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.79 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 2.79 KB
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
{
"name": "libconfig-borkra",
"displayName": "%extension.displayName%",
"description": "%extension.description%",
"version": "1.1.4",
"icon": "media/icon.png",
"license": "MIT",
"keywords": [
"libconfig",
"config",
"configuration"
],
"publisher": "borkra",
"conflictingExtensionIds": [
"tmulligan.libconfig-lang",
"wegman12.cfg-language-features"
],
"repository": {
"type": "git",
"url": "https://github.com/borkra/Libconfig-VsCode-Support"
},
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Programming Languages"
],
"main": "./client/out/extension",
"l10n": "./l10n",
"contributes": {
"languages": [
{
"id": "libconfig",
"aliases": [
"LibConfig",
"libconfig"
],
"extensions": [
".cfg",
".schema"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "libconfig",
"scopeName": "source.libconfig",
"path": "./syntaxes/libconfig.tmLanguage.json"
}
],
"configuration": {
"type": "object",
"title": "%config.title%",
"properties": {
"LibConfigServer.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "%config.trace.description%"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile && npm run extract-l10n && npm run bundle",
"clean": "rm -rf client/out server/out *.vsix client/tsconfig.tsbuildinfo server/tsconfig.tsbuildinfo",
"clean:full": "npm run clean && rm -rf node_modules client/node_modules server/node_modules package-lock.json client/package-lock.json server/package-lock.json",
"compile": "tsc -b",
"bundle": "node scripts/bundle.js",
"package:local": "npm run compile && npm run extract-l10n && npm run bundle && npx @vscode/vsce package --no-yarn --out libconfig-borkra.vsix",
"update:version": "node scripts/update-version.js",
"version": "node scripts/update-version.js && git add client/package.json server/package.json README.md",
"watch": "tsc -b -w",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "sh ./scripts/e2e.sh",
"install:local": "npm run package:local && node scripts/smart-reinstall.js",
"sbom": "npm run sbom:cyclonedx && npm run sbom:spdx",
"sbom:cyclonedx": "npx @cyclonedx/cdxgen -t javascript -o sbom.cdx.json",
"sbom:spdx": "npx @cyclonedx/cdxgen -t javascript -o sbom.spdx.json --format spdx",
"extract-l10n": "npx @vscode/l10n-dev export --outDir ./l10n './client/src/**/*.ts' './server/src/**/*.ts'"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@vscode/l10n-dev": "^0.0.35",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.7.1",
"esbuild": "^0.25.0",
"ovsx": "^0.10.10",
"typescript": "^5.0.0"
}
}