-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.95 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
{
"name": "compro-snippet-from-file",
"displayName": "compro-snippet-from-file",
"description": "Insert snippets from file (and automatically fold regions)",
"publisher": "morioprog",
"repository": {
"type": "git",
"url": "https://github.com/morioprog/compro-snippet-from-file"
},
"version": "0.0.1",
"engines": {
"vscode": "^1.64.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:compro-snippet-from-file.insert-snippet",
"onCommand:compro-snippet-from-file.insert-snippet-and-fold"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "compro-snippet-from-file.insert-snippet",
"title": "compro-snippet-from-file: Insert snippet"
},
{
"command": "compro-snippet-from-file.insert-snippet-and-fold",
"title": "compro-snippet-from-file: Insert snippet and fold all regions"
}
],
"configuration": {
"title": "compro-snippet-from-file",
"properties": {
"compro-snippet-from-file.snippetDirectory": {
"type": "string",
"description": "An absolute path to the snippet directory"
},
"compro-snippet-from-file.snippetExtensions": {
"type": "array",
"description": "Extentions of your snippets"
},
"compro-snippet-from-file.addRegion": {
"type": "boolean",
"description": "Whether to add the region delimiter before/after the snippet or not"
},
"compro-snippet-from-file.beginRegion": {
"type": "object",
"description": "The region delimiter for each language extension before your snippet (string `<SNIPPETPATH>` will be replaced to the snippet path)"
},
"compro-snippet-from-file.endRegion": {
"type": "object",
"description": "The region delimiter for each language extension after your snippet (string `<SNIPPETPATH>` will be replaced to the snippet path)"
},
"compro-snippet-from-file.addRegionExcept": {
"type": "array",
"description": "Specify the snippet (by its relative path) that you don't want to add the region delimiter"
},
"compro-snippet-from-file.ignoringDirectory": {
"type": "array",
"description": "Ignore files under those directories"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.64.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"eslint": "^8.6.0",
"glob": "^7.2.0",
"mocha": "^9.1.3",
"typescript": "^4.5.4",
"@vscode/test-electron": "^2.0.3"
}
}