-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.21 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.21 KB
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
{
"name": "key-cooker",
"displayName": "key cooker",
"description": "This extension allows you to copy the path to a property in a JSON, YAML, JS/TS objects, and TS types.",
"version": "0.0.4",
"publisher": "MohamedAli",
"engines": {
"vscode": "^1.105.0"
},
"repository": {
"type": "git",
"url": "https://github.com/MohamedAli00949/KeyCooker"
},
"icon": "images/icon.png",
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:json",
"onLanguage:yaml",
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "key-cooker.copyKeyPath",
"title": "Copy key path"
}
],
"menus": {
"editor/context": [
{
"command": "key-cooker.copyKeyPath",
"group": "9_cutcopypaste",
"when": "completedKey"
}
]
},
"keybindings": [
{
"command": "key-cooker.copyKeyPath",
"key": "ctrl+shift+c",
"when": "completedKey"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "node ./out/test/run-tests.js"
},
"overrides": {
"punycode": "2.3.1"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"eslint --fix",
"prettier --write ."
],
"*.{json,md,html,css}": [
"prettier --write ."
]
},
"devDependencies": {
"@types/assert": "^1.5.11",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "^22.18.13",
"@types/sinon": "^17.0.4",
"@types/vscode": "^1.104.0",
"@typescript-eslint/eslint-plugin": "^8.40.0",
"@typescript-eslint/parser": "^8.39.0",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"eslint": "^9.32.0",
"glob": "^7.1.4",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"mocha": "^11.7.4"
},
"dependencies": {
"assert": "^2.1.0",
"jsonc-parser": "^3.3.1",
"sinon": "^21.0.0",
"typescript": "^5.9.3"
}
}