forked from nukopy/python-string-markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 2.58 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": "nimiboost",
"displayName": "NimiBoost",
"description": "Provides syntax highlighting for embedded markdown in Nimib",
"version": "0.4.3",
"publisher": "HugoGranstrom",
"repository": "https://github.com/HugoGranstrom/nimiBoost",
"engines": {
"vscode": "^1.56.0"
},
"categories": [
"Programming Languages",
"Other"
],
"activationEvents": [
"onCommand:nimiBoost.preview",
"onCommand:nimiBoost.previewLegacy",
"workspaceContains:**/nimib.toml"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "NimiBoost",
"properties": {
"nimiboost.codeAsInSource": {
"type": "boolean",
"default": false,
"description": "Render code blocks as they are written in the code (if disabled the Nim compiler will be used for parsing which may change how the code looks)."
},
"nimiboost.cmdArgs": {
"type": "string",
"default": "",
"description": "Command line arguments to pass to the compiler when previewing."
}
}
},
"grammars": [
{
"path": "./syntaxes/highlight-markdown-string.json",
"scopeName": "nimiBoost.injection",
"injectTo": [
"source.nim"
],
"embeddedLanguages": {
"meta.embedded.block.markdown": "markdown",
"meta.embedded.block.python": "python",
"meta.embedded.block.nim": "nim",
"meta.embedded.block.html": "html"
}
}
],
"commands": [
{
"command": "nimiBoost.preview",
"title": "Nimib Preview"
},
{
"command": "nimiBoost.previewLegacy",
"title": "Nimib Preview (Legacy)"
}
],
"keybindings": [
{
"command": "nimiBoost.preview",
"key": "ctrl+k v",
"mac": "cmd+k v",
"when": "editorTextFocus && editorLangId == nim"
}
],
"menus": {
"commandPalette": [
{
"command": "nimiBoost.preview",
"when": "editorLangId == nim"
},
{
"command": "nimiBoost.previewLegacy",
"when": "editorLangId == nim"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.56.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"eslint": "^7.19.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0"
},
"dependencies": {
"@iarna/toml": "^2.2.5",
"find-parent-dir": "^0.3.1"
}
}