-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
123 lines (123 loc) · 3.39 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
{
"name": "vscode-obsidianmd",
"displayName": "ObsidianMD",
"description": "Search in your Obsidian vault directly from VSCode",
"version": "0.2.0",
"icon": "icon.png",
"author": {
"name": "Bruno Paz",
"email": "[email protected]",
"url": "https://brunopaz.dev"
},
"repository": {
"url": "https://github.com/brpaz/vscode-obsidianmd",
"type": "git"
},
"publisher": "brpaz",
"engines": {
"vscode": "^1.75.0",
"node": ">=16"
},
"categories": [
"Other"
],
"main": "./out/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "obsidianmd.search",
"title": "Search in vault",
"category": "ObsidianMD"
},
{
"command": "obsidianmd.index",
"title": "Index vault",
"category": "ObsidianMD",
"icon": "${code}"
}
],
"configuration": {
"title": "ObsidianMD",
"properties": {
"obsidianmd.vaultPath": {
"type": "string",
"default": "",
"description": "Path to your Obsidian vault"
},
"obsidianmd.excludedDirectories": {
"type": "array",
"default": [],
"description": "A list of Vault directories that will be excluded from the index"
},
"obsidianmd.includeOnlyWithFrontmatterKey": {
"type": "boolean",
"default": false,
"description": "If this option is set to true only notes with frontmatter key \"brpaz.vscode-obsidianmd/include: true\" will be indexed"
}
}
}
},
"scripts": {
"prepare": "husky install",
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"lint:fix": "eslint src --ext ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier check \"src/**/*.ts\"",
"watch": "tsc -watch -p ./",
"test": "jest",
"test:report:jest": "serve ./reports/jest",
"test:report:coverage": "serve ./reports/coverage/lcov-report",
"package": "rimraf dist && mkdir -p dist && vsce package -o dist/",
"vsce:publish": "vsce publish -i dist/*.vsix"
},
"dependencies": {
"gray-matter": "^4.0.3",
"js-yaml": "3.14.1",
"marked": "^4.2.12",
"marked-admonition-extension": "^0.0.2"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.2",
"@types/jest": "^29.4.0",
"@types/marked": "^4.0.8",
"@types/node": "^18.14.0",
"@types/vscode": "^1.75.1",
"@types/yaml": "^1.9.7",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.48.1",
"chalk": "^5.2.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"jest": "^29.4.3",
"jest-html-reporter": "^3.7.0",
"jest-junit": "^15.0.0",
"jest-mock-extended": "^3.0.1",
"lint-staged": "^13.1.2",
"prettier": "^2.8.4",
"rimraf": "^4.1.2",
"serve": "^14.2.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"vsce": "^2.15.0",
"vscode": "^1.1.37"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest-junit": {
"suiteNameTemplate": "{filepath}",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}"
}
}