-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
158 lines (158 loc) · 4.69 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "vscode-new-file",
"displayName": "Advanced New File",
"description": "An easier way of creating a new file inside a project.",
"version": "4.0.2",
"icon": "images/logo-300x.png",
"galleryBanner": {
"color": "#eeeeee",
"theme": "light"
},
"license": "MIT",
"publisher": "dkundel",
"engines": {
"vscode": "^1.18.0"
},
"categories": [
"Other"
],
"bugs": {
"url": "https://github.com/dkundel/vscode-new-file/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/dkundel/vscode-new-file.git"
},
"activationEvents": [
"onCommand:newFile.createFromExplorer",
"onCommand:newFile.createNewFile"
],
"main": "./out/src/extension",
"contributes": {
"configuration": {
"title": "New File Extension Configuration",
"type": "object",
"properties": {
"newFile.showPathRelativeTo": {
"type": "string",
"enum": [
"root",
"project",
"none"
],
"default": "root",
"description": "Lets you configure what the path should be shown relative to. 'root' is the equivalent of showing the whole URL based on the configured root.",
"scope": "resource"
},
"newFile.relativeTo": {
"type": "string",
"enum": [
"file",
"project",
"root"
],
"default": "file",
"description": "Whether the entered path should be treated relative to the existing 'project', the currently selected 'file' or specified 'root'. If set to 'root' you need to set the 'rootDirectory' setting.",
"scope": "resource"
},
"newFile.rootDirectory": {
"type": "string",
"default": "~",
"description": "Only used when 'relativeTo' is set to 'root'. Used as the root for creating new files.",
"scope": "resource"
},
"newFile.defaultFileExtension": {
"type": "string",
"default": ".ts",
"description": "Default file extension to be used when no file is open.",
"scope": "resource"
},
"newFile.defaultBaseFileName": {
"type": "string",
"default": "newFile",
"description": "Default base file name.",
"scope": "resource"
},
"newFile.expandBraces": {
"type": "boolean",
"default": false,
"description": "Whether braces should be expanded to multiple paths (such as {test1,test2}.js creating two files, test1.js and test2.js",
"scope": "resource"
},
"newFile.fileTemplates": {
"type": "object",
"default": {},
"description": "Object of mappings from file extension to path for template file. The paths can be relative to the 'rootDirectory' or absolute paths.",
"scope": "resource"
},
"newFile.useFileTemplates": {
"type": "boolean",
"default": true,
"description": "If enabled it will look up template files in newFile.fileTemplates for file creation.",
"scope": "resource"
}
}
},
"commands": [
{
"command": "newFile.createNewFile",
"title": "Files: Advanced New File"
},
{
"command": "newFile.createFromExplorer",
"title": "Advanced New File"
}
],
"keybindings": [
{
"command": "newFile.createNewFile",
"key": "alt+ctrl+n",
"mac": "alt+cmd+n"
}
],
"menus": {
"explorer/context": [
{
"command": "newFile.createFromExplorer"
}
]
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"pretest": "npm run lint",
"test": "node ./node_modules/vscode/bin/test",
"lint": "tslint src/**/*.ts",
"lint:fix": "npm run lint -- --fix",
"contrib:add": "all-contributors add",
"contrib:generate": "all-contributors generate"
},
"devDependencies": {
"@types/expect.js": "^0.3.29",
"@types/mocha": "^2.2.41",
"@types/mockery": "^1.4.29",
"@types/node": "^7.0.18",
"@types/rimraf": "^0.0.28",
"all-contributors-cli": "^4.5.1",
"mocha": "^3.4.1",
"mockery": "^1.4.0",
"prettier": "^1.7.4",
"rimraf": "^2.4.4",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.6.0",
"tslint-plugin-prettier": "^1.3.0",
"typescript": "^2.3.2",
"vscode": "^1.1.0"
},
"dependencies": {
"@types/debug": "^0.0.29",
"@types/mkdirp": "^0.3.29",
"@types/q": "^1.0.0",
"braces": "^2.2.2",
"debug": "^2.6.7",
"mkdirp": "^0.5.1",
"q": "^1.4.1"
}
}