-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
108 lines (108 loc) · 3.14 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
{
"name": "plop-templates",
"displayName": "File Templates",
"description": "Create new files and folders from templates",
"version": "1.2.0",
"publisher": "samkirkland",
"engines": {
"vscode": "^1.64.0"
},
"categories": [
"Other"
],
"author": {
"name": "Sam Kirkland",
"url": "https://github.com/samkirkland"
},
"repository": {
"url": "https://github.com/samkirkland/plop-templates"
},
"bugs": {
"url": "https://github.com/samkirkland/plop-templates/issues",
"email": "[email protected]"
},
"galleryBanner": {
"color": "#333333",
"theme": "dark"
},
"qna": "https://github.com/samkirkland/plop-templates/issues",
"license": "MIT",
"keywords": [
"templates",
"create-item-by-template",
"create-folder",
"create-file",
"plop"
],
"activationEvents": [
"workspaceContains:**/plopfile.js",
"onCommand:ploptemplates.newFile"
],
"icon": "resources/logo.png",
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "ploptemplates.newFile",
"title": "📄 New File from Template",
"category": "Plop File Templates"
}
],
"menus": {
"explorer/context": [
{
"command": "ploptemplates.newFile",
"group": "navigation@500"
}
]
},
"configuration": [
{
"title": "Plop Templates",
"required": [
"plopTemplates.configFileName",
"plopTemplates.terminalName",
"plopTemplates.destinationPath",
"plopTemplates.plopCommand"
],
"properties": {
"plopTemplates.configFileName": {
"type": "string",
"default": "plopfile.js",
"description": "List of paths to plop file templates"
},
"plopTemplates.terminalName": {
"type": "string",
"default": "New File from Template",
"description": "Name of the Terminal window created for plop"
},
"plopTemplates.destinationPath": {
"type": "string",
"default": "destinationpath",
"description": "Name of the prompt the destination path will be passed in as"
},
"plopTemplates.plopCommand": {
"type": "string",
"default": "plop",
"description": "By default this extension assumes plop is installed globally (npm install -g plop). If this is not the case, add a 'scripts' record in your package.json file -- example: 'scripts': { 'add-from-template': 'plop' } -- next update this setting with your command case, in this example 'add-from-template'"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"pack": "vsce package --no-dependencies",
"publish": "vsce publish --no-dependencies"
},
"devDependencies": {
"@types/node": "^12.12.0",
"@types/vscode": "^1.64.0",
"ts-loader": "^9.2.6",
"typescript": "^4.5.5",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2"
}
}