-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
117 lines (117 loc) · 3.31 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
{
"name": "json-comments",
"displayName": "%jsonComments.displayName%",
"description": "%jsonComments.description%",
"version": "0.0.4",
"publisher": "wxzhang",
"homepage": "https://github.com/zhangfisher/json_comments_extension",
"repository": {
"type": "git",
"url": "https://github.com/zhangfisher/json_comments_extension"
},
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other"
],
"icon": "json.png",
"author": {
"name": "wxzhang",
"email": "[email protected]"
},
"keywords": [
"json",
"comments"
],
"activationEvents": [
"onLanguage:json",
"onFileSystemRenameFile"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "json-comments.addComments",
"title": "%jsonComments.command.addComment.title%"
},
{
"command": "json-comments.clearComments",
"title": "%jsonComments.command.clearComments.title%"
},
{
"command": "json-comments.editComments",
"title": "%jsonComments.command.editComments.title%"
}
],
"configuration": [
{
"title": "JsonComments",
"description": "JsonComments extension settings",
"properties": {
"json-comments.saveFile": {
"type": "string",
"title": "%jsonComments.saveFile.title%",
"default": "package.json",
"description": "%jsonComments.saveFile.description%"
},
"json-comments.entryKey": {
"type": "string",
"title": "%jsonComments.entryKey.title%",
"default": "json-comments",
"description": "%jsonComments.entryKey.description%"
},
"json-comments.enable": {
"type": "boolean",
"title": "%jsonComments.enable.title%",
"default": true,
"description": "%jsonComments.enable.description%"
}
}
}
]
},
"l10n": "./l10n",
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"l10n:extract": "pnpx @vscode/l10n-dev export --outDir ./l10n ./src",
"release": "vsce publish patch",
"package:vsix": "vsce package"
},
"devDependencies": {
"@types/mocha": "^10.0.3",
"@types/node": "18.x",
"@types/vscode": "^1.80.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vscode/l10n-dev": "^0.0.30",
"@vscode/test-electron": "^2.3.6",
"eslint": "^8.52.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"ts-loader": "^9.5.0",
"tsx": "^4.4.0",
"typescript": "^5.2.2",
"vsce": "latest",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@types/json-to-ast": "^2.1.4",
"@types/jsonpath": "^0.2.4",
"@vscode/l10n": "^0.0.17",
"flex-tools": "^1.3.50",
"fluent-json-schema": "^4.2.1",
"json-schema-from-path": "^2.0.1",
"json-to-ast": "^2.1.0",
"jsonpath": "^1.1.1"
}
}