-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.91 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.91 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
{
"name": "json-schema-2020-validation",
"displayName": "JSON Schema Diagnostics",
"description": "Validates JSON documents against schemas (up to draft/2020-12) with live diagnostics in VS Code",
"version": "0.0.8",
"publisher": "prosser",
"repository": {
"type": "git",
"url": "https://github.com/prosser/json-schema-validation-extension.git"
},
"icon": "icon.png",
"engines": {
"vscode": "^1.101.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:json"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "JSON Schema Diagnostics",
"properties": {
"jsonSchemaDiagnostics.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"jsonSchemaDiagnostics.schemaSearchPaths": {
"scope": "resource",
"type": "string",
"description": "Comma-delimited absolute paths to search for schema files before attempting to download the schema."
},
"jsonSchemaDiagnostics.schemaSearchUrlPattern": {
"scope": "resource",
"type": "string",
"description": "Regex pattern executed against $schema URLs to determine the local filename.",
"default": "^https?://.+/(.+)(?:#?\\?.+)?$"
},
"jsonSchemaDiagnostics.schemaSearchGlobs": {
"scope": "resource",
"type": "string",
"description": "Comma-delimited list of path globs to search for schema files before attempting an HTTP fetch. Matches from jsonSchema2020Validation.schemaUrlPattern will replace $1, $2, etc.",
"default": "**/$1.json"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"server-win": "cd server/src/JsonSchemaLanguageServer && dotnet publish /p:PublishProfile=win-x64.pubxml",
"server-osx": "cd server/src/JsonSchemaLanguageServer && dotnet publish /p:PublishProfile=osx-x64.pubxml",
"server-linux": "cd server/src/JsonSchemaLanguageServer && dotnet publish /p:PublishProfile=linux-x64.pubxml",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"watch": "tsc -b -w",
"lint": "eslint ./src --ext .ts,.tsx",
"test": "node ./out/test/runTest.js"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^24.0.4",
"@types/vscode": "^1.101.0",
"@typescript-eslint/eslint-plugin": "^8.35.0",
"@typescript-eslint/parser": "^8.35.0",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.25.5",
"eslint": "^9.29.0",
"mocha": "^11.7.1",
"typescript": "^5.8.3"
}
}