-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 4.3 KB
/
package.json
File metadata and controls
123 lines (123 loc) · 4.3 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
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
{
"name": "adblock",
"displayName": "Adblock/AdGuard/uBlock filters grammar",
"description": "VS code extension that adds support for ad blocking rules syntax.",
"version": "2.1.4",
"publisher": "adguard",
"icon": "icons/aglint_128x128.png",
"main": "./client/out/extension",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Programming Languages",
"Linters"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/AdguardTeam/VscodeAdblockSyntax.git"
},
"bugs": {
"url": "https://github.com/AdguardTeam/VscodeAdblockSyntax/issues"
},
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "Only syntax highlighting supported."
},
"virtualWorkspaces": {
"supported": "limited",
"description": "Only syntax highlighting supported. Linter uses Node.js filesystem API, which is not supported in virtual workspaces."
}
},
"contributes": {
"languages": [
{
"id": "adblock",
"aliases": [
"adblock",
"adguard",
"ublock"
],
"extensions": [
".txt"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "adblock",
"scopeName": "text.adblock",
"path": "./syntaxes/out/adblock.plist",
"embeddedLanguages": {
"source.js": "javascript"
}
}
],
"configuration": {
"type": "object",
"title": "Adblock",
"properties": {
"adblock.enableAglint": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Enable or disable AGLint integration. If disabled, only syntax highlighting and other language features will be available."
},
"adblock.enableInMemoryAglintCache": {
"scope": "resource",
"type": "boolean",
"default": false,
"markdownDescription": "⚠️ **Experimental**: Enable or disable in-memory caching of linting results for better performance."
}
}
}
},
"scripts": {
"build": "cross-env NODE_ENV=production pnpm --recursive build",
"clean": "tsx tools/clean.ts",
"increment": "pnpm version patch --no-git-tag-version",
"lint": "pnpm --recursive lint",
"lint:md": "markdownlint .",
"lint:code": "eslint . --cache --ext .ts --ext .js",
"prepackage": "rimraf out && mkdirp out",
"package": "vsce package --out out/vscode-adblock.vsix",
"package:pre": "pnpm package --pre-release",
"prepare": "node .husky/install.mjs",
"test": "pnpm --recursive test --run",
"test:compile": "pnpm --recursive --parallel --filter='!aglint-test-project' exec tsc --noEmit"
},
"devDependencies": {
"@adguard/changelog-tools": "catalog:",
"@types/node": "catalog:",
"@typescript-eslint/eslint-plugin": "catalog:",
"@typescript-eslint/parser": "catalog:",
"@vscode/vsce": "catalog:",
"ci-info": "catalog:",
"cross-env": "catalog:",
"eslint": "catalog:",
"eslint-config-airbnb-base": "catalog:",
"eslint-config-airbnb-typescript": "catalog:",
"eslint-plugin-boundaries": "catalog:",
"eslint-plugin-import": "catalog:",
"eslint-plugin-import-newlines": "catalog:",
"eslint-plugin-jsdoc": "catalog:",
"eslint-plugin-n": "catalog:",
"husky": "catalog:",
"jsdoc": "catalog:",
"lint-staged": "catalog:",
"markdownlint": "catalog:",
"markdownlint-cli": "catalog:",
"mkdirp": "catalog:",
"ovsx": "catalog:",
"rimraf": "catalog:",
"tsx": "catalog:",
"typescript": "catalog:",
"vscode-oniguruma": "catalog:"
},
"pnpm": {
"neverBuiltDependencies": []
}
}