-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
143 lines (143 loc) · 4.34 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
{
"name": "scratchpads",
"displayName": "Scratchpads",
"description": "Create multiple scratchpad files of different file types",
"version": "1.0.1",
"publisher": "buenon",
"author": {
"name": "Nadav Bueno",
"email": "[email protected]"
},
"license": "MIT",
"homepage": "https://github.com/buenon/scratchpads/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/buenon/scratchpads"
},
"icon": "images/icon.png",
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Scratchpads",
"properties": {
"scratchpads.scratchpadsFolder": {
"type": "string",
"description": "A custom full path in which the scratchpads will be stored (Note: Data will not be moved)."
},
"scratchpads.promptForRemoval": {
"type": "boolean",
"default": true,
"description": "Prompt the user when removing all scratchpads"
},
"scratchpads.promptForFilename": {
"type": "boolean",
"default": false,
"description": "Prompt the user for a file name when creating a new scratchpad"
},
"scratchpads.autoPaste": {
"type": "boolean",
"default": true,
"description": "Automatically paste clipboard content into the new scratchpad"
},
"scratchpads.autoFormat": {
"type": "boolean",
"default": true,
"description": "Automatically format the new scratchpad content (works only if auto paste is on)"
},
"scratchpads.renameWithExtension": {
"type": "boolean",
"default": false,
"description": "Include the file extension when renaming a scratchpad"
},
"scratchpads.filePrefix": {
"type": "string",
"default": "scratch",
"description": "The prefix to use when creating new scratchpad files"
},
"scratchpads.defaultFiletype": {
"type": "string",
"default": "",
"description": "The default file extension to use with 'New scratchpad (default)' command (e.g., 'js', 'ts', 'py')"
}
}
},
"commands": [
{
"command": "scratchpads.newScratchpad",
"title": "Scratchpads: New scratchpad"
},
{
"command": "scratchpads.newScratchpadDefault",
"title": "Scratchpads: New scratchpad (default)"
},
{
"command": "scratchpads.openScratchpad",
"title": "Scratchpads: Open scratchpad"
},
{
"command": "scratchpads.openLatestScratchpad",
"title": "Scratchpads: Open latest scratchpad"
},
{
"command": "scratchpads.renameScratchpad",
"title": "Scratchpads: Rename scratchpad"
},
{
"command": "scratchpads.removeScratchpad",
"title": "Scratchpads: Remove a scratchpad"
},
{
"command": "scratchpads.removeAllScratchpads",
"title": "Scratchpads: Remove all scratchpads"
},
{
"command": "scratchpads.newFiletype",
"title": "Scratchpads: New filetype"
}
]
},
"scripts": {
"vscode:prepublish": "npm 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": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"dependencies": {
"language-map": "^1.5.0",
"ts-md5": "^1.3.1"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/vscode": "^1.70.0",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"@vscode/test-electron": "^2.1.5",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"prettier": "^2.7.1",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"webpack": "^5.97.1",
"webpack-cli": "^4.10.0"
},
"activationEvents": [
"onStartupFinished"
]
}