-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
95 lines (95 loc) · 2.62 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
{
"name": "snippet-from-file",
"displayName": "snippet-from-file",
"description": "Insert snippets from file (and automatically fold regions)",
"publisher": "morioprog",
"version": "0.0.1",
"engines": {
"vscode": "^1.44.0"
},
"categories": [
"Other"
],
"keywords": [
"snippet",
"region",
"fold"
],
"license": "MIT",
"author": {
"name": "morioprog",
"url": "https://github.com/morioprog"
},
"repository": {
"type": "git",
"url": "https://github.com/morioprog/vscode-snippet-from-file"
},
"activationEvents": [
"onCommand:snippet-from-file.insertsnippet",
"onCommand:snippet-from-file.insertsnippetandfold"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "snippet-from-file.insertsnippet",
"title": "snippet-from-file: Insert snippet"
},
{
"command": "snippet-from-file.insertsnippetandfold",
"title": "snippet-from-file: Insert snippet and fold all regions"
}
],
"configuration": {
"title": "Snippet from file",
"properties": {
"snippet-from-file.snippets": {
"type": "object",
"default": {},
"description": "Configure titles and directories of your snippets"
},
"snippet-from-file.snippetbasedir": {
"type": "string",
"description": "Load snippet from this directory"
},
"snippet-from-file.addregion": {
"type": "boolean",
"description": "Whether to add the region delimiter before/after your snippet"
},
"snippet-from-file.beginregion": {
"type": "object",
"description": "The region delimiter for each language extension before your snippet (string `<SNIPPETNAME>` will be replaced to your snippet title)"
},
"snippet-from-file.endregion": {
"type": "object",
"description": "The region delimiter for each language extension after your snippet (string `<SNIPPETNAME>` will be replaced to your snippet title)"
},
"snippet-from-file.addregionexcept": {
"type": "array",
"description": "Specify the snippet (path) that you don't want to add the region delimiter"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.44.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"eslint": "^6.8.0",
"@typescript-eslint/parser": "^2.26.0",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"glob": "^7.1.6",
"mocha": "^7.1.1",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
}
}