/
package.json
144 lines (144 loc) · 4.16 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
{
"name": "md-graph",
"displayName": "md-graph",
"description": "Visualize your markdown files as a network graph. Easily navigate files and see relationships.",
"version": "0.1.1",
"publisher": "ianjsikes",
"engines": {
"vscode": "^1.47.0"
},
"categories": [
"Other"
],
"keywords": [
"markdown",
"foam",
"wiki"
],
"bugs": {
"url": "https://github.com/ianjsikes/md-graph/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/ianjsikes/md-graph"
},
"license": "MIT",
"activationEvents": [
"onLanguage:markdown",
"onCommand:md-graph.showGraph"
],
"main": "./extension/out/extension.js",
"contributes": {
"commands": [
{
"command": "md-graph.showGraph",
"title": "md-graph: Show Graph"
}
],
"configuration": {
"title": "md-graph",
"properties": {
"md-graph.showColumn": {
"type": "string",
"default": "beside",
"description": "- active – in the currently focused column.\n- beside – (default) other than the current.\n- one, two, three, four, five, six, seven, eight, nine – respective editor columns."
},
"md-graph.openColumn": {
"type": "string",
"default": "one",
"description": "- active – in the currently focused column.\n- beside – other than the current.\n- one (default), two, three, four, five, six, seven, eight, nine – respective editor columns."
},
"md-graph.autoStart": {
"type": "boolean",
"default": false,
"description": "Should Markdown Links automatically start when a markdown file is opened."
},
"md-graph.fileTypes": {
"type": "array",
"default": [
"md"
],
"description": "File type extensions that should be parsed by md-graph"
},
"md-graph.graph.defaultMode": {
"type": "string",
"default": "ALL",
"enum": [
"ALL",
"FOCUS"
],
"enumDescriptions": [
"Show the full graph, including every file in the workspace",
"Show a graph of the currently open file and its neighbors"
],
"description": "Default viewing mode to show when opening the md-graph panel"
},
"md-graph.graph.focusNeighborDepth": {
"type": "number",
"default": 1,
"minimum": 1,
"description": "How many levels of neighbors should be shown in focus mode.\nA value of 1 will only show immediate neighbors"
},
"md-graph.graph.fadeDepth": {
"type": "number",
"default": 1,
"minimum": 0,
"description": "How far away should a file be from the current file before its node is faded.\nSet to 0 to not fade any nodes"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn build:webview --mode production && yarn build:extension --mode production",
"watch": "concurrently -r \"yarn build:webview --watch\" \"yarn build:extension --watch\"",
"build:webview": "webpack --mode development --config webview/webpack.config.js",
"build:extension": "webpack --mode development --config extension/webpack.config.js"
},
"prettier": {
"semi": false,
"arrowParens": "always",
"singleQuote": true,
"trailingComma": "es5"
},
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/plugin-transform-runtime": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@types/d3": "^5.7.2",
"@types/glob": "^7.1.1",
"@types/md5": "^2.2.0",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"@types/react": "^16.9.44",
"@types/react-dom": "^16.9.8",
"@types/seedrandom": "^2.4.28",
"@types/vscode": "^1.47.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"babel-loader": "^8.1.0",
"concurrently": "^5.2.0",
"css-loader": "^4.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"style-loader": "^1.2.1",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0",
"webpack": "^4.44.0",
"webpack-cli": "^3.3.12"
},
"dependencies": {
"d3": "^5.16.0",
"md5": "^2.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-spring": "^8.0.27",
"remark": "^12.0.1",
"remark-frontmatter": "^2.0.0",
"remark-wiki-link": "^0.0.4",
"seedrandom": "^3.0.5"
}
}