-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.64 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
{
"name": "bookmarks-toc-gen",
"displayName": "Bookmarks Table of Contents Generator",
"description": "Creates a dynamically updated comment at the top of your file listing your bookmarks with their line numbers.",
"version": "1.0.2",
"publisher": "michael-psenka",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "bookmarks-toc-gen.updateTableOfContents",
"title": "Bookmarks TOC Gen: Update Table of Contents"
}
],
"keybindings": [
{
"command": "bookmarks-toc-gen.updateTableOfContents",
"key": "ctrl+alt+b ctrl+alt+s",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "Table of Contents Generator Settings",
"properties": {
"michael-psenka.bookmarks-toc-gen.separator": {
"type": "string",
"default": "*---------------------------------------------------------*",
"description": "The separator string to use for the table of contents. I use this to detect where the TOC is, so please make it something unique!"
},
"michael-psenka.bookmarks-toc-gen.maxLinesSearch": {
"type": "number",
"default": 100,
"description": "The maximum number of lines to search for the table of contents in a document. In other words, your table of contents will not be found for updating if it's further down in lines than this number."
}
}
}
},
"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"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@types/vscode": "^1.80.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vscode/test-electron": "^2.3.2",
"eslint": "^8.41.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"ts-loader": "^9.4.3",
"typescript": "^5.1.3",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.1"
},
"dependencies": {
"@vscode/vsce": "^2.19.0",
"vsce": "^2.15.0"
},
"repository": {
"type": "git",
"url": "https://github.com/michael-psenka/bookmarks-toc-gen.git"
}
}