-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
107 lines (107 loc) · 3 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
{
"name": "ts-to-md",
"displayName": "TypeScript Definitions to Markdown",
"description": "Export your TypeScript definitions in Mardown format directly in your clipboard ready to past in your README.",
"version": "1.0.1",
"main": "./dist/extension.js",
"license": "MIT",
"engines": {
"vscode": "^1.59.0"
},
"publisher": "skarab42",
"homepage": "https://github.com/skarab42/ts-to-md/tree/v1.0.1",
"bugs": {
"url": "https://github.com/skarab42/ts-to-md/issues",
"email": "contact@skarab42.dev"
},
"repository": {
"type": "git",
"url": "https://github.com/skarab42/ts-to-md.git"
},
"activationEvents": [
"onLanguage:typescript"
],
"contributes": {
"configuration": {
"title": "TypeScript Definitions to Markdown",
"properties": {
"ts-to-md.typescriptModule.path": {
"type": "string",
"default": "",
"markdownDescription": "Absolute path to your fixed version of typescript which will be used by default or as a fallback. The path must exist and must point to the root of the module, e.g. `/project/node_modules/typescript`. Leave blank if you do not want a fixed version."
},
"ts-to-md.typescriptModule.pathAsFallback": {
"type": "boolean",
"default": false,
"title": "As Fallback",
"markdownDescription": "If you check this box the path specified above will be used as a fallback if no module is found locally or globally instead of the one embedded by the extension."
}
}
},
"commands": [
{
"title": "Definition to markdown table",
"command": "ts-to-md.definitionToTable",
"category": "TS Definitions to Markdown"
}
],
"menus": {
"commandPalette": [
{
"command": "ts-to-md.definitionToTable",
"when": "editorLangId == typescript"
}
],
"editor/context": [
{
"command": "ts-to-md.definitionToTable",
"group": "9_cutcopypaste",
"when": "editorTextFocus && editorLangId == typescript"
}
]
}
},
"scripts": {
"watch": "tsc -w",
"clean": "rimraf dist",
"build": "yarn clean && tsc",
"pretest": "yarn build",
"test": "node dist/test/runTest.js",
"package": "yarn build && vsce package",
"prepare": "husky install"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "8.2.2",
"@types/node": "^16.7.2",
"@types/sinon": "10.0.2",
"@types/vscode": "^1.59.0",
"husky": "^7.0.0",
"mocha": "8.4.0",
"rimraf": "^3.0.2",
"sinon": "11.1.2",
"vscode-test": "1.6.1"
},
"dependencies": {
"glob": "^7.1.7",
"tsutils": "^3.21.0",
"typescript": "4.3.5"
},
"icon": "images/logo.png",
"galleryBanner": {
"color": "#282C34",
"theme": "dark"
},
"categories": [
"Other",
"Visualization",
"Programming Languages"
],
"keywords": [
"typescript",
"markdown",
"type",
"interface",
"definition"
]
}