-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.07 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
{
"name": "obsidian-snippets",
"displayName": "Obsidian Code Snippets",
"description": "Transfer selected code snippets from Visual Studio Code to your Obsidian Vault. This extension create organized Markdown notes for your code blocks/snippets in one click.",
"version": "1.0.3",
"publisher": "EliteWise",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/EliteWise/obsidian-snippets"
},
"icon": "images/extension-icon.png",
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "obsidian-snippets.setup",
"title": "Obsidian snippets setup"
},
{
"command": "obsidian-snippets.copy",
"title": "Copy selected code to Obsidian"
}
],
"menus": {
"editor/context": [
{
"command": "obsidian-snippets.copy"
}
]
},
"configuration": {
"type": "object",
"title": "Configure Obsidian Folder",
"properties": {
"obsidian-snippets.path": {
"type": "string",
"default": "",
"description": "Path to your Obsidian Vault to save snippets."
}
}
}
},
"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",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.75.0",
"@types/mocha": "^10.0.9",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.7.0",
"eslint": "^9.13.0",
"typescript": "^5.6.3",
"ts-loader": "^9.5.1",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}