-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
87 lines (87 loc) · 2.26 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
{
"name": "yoco",
"displayName": "YOCO(You Only Copy Once)",
"publisher": "yoco",
"description": "Copy your code with file name at once",
"version": "0.0.6",
"icon": "images/icon.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/YOCOING/YOCO"
},
"engines": {
"vscode": "^1.88.0",
"yarn": "^1.22.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "YOCO.copyTextWithFilePath",
"title": "Copy Text With FileName as Comment"
}
],
"keybindings": [
{
"command": "YOCO.copyTextWithFilePath",
"key": "ctrl+shift+c",
"mac": "cmd+shift+c",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "YOCO(You Only Copy Once)",
"properties": {
"YOCO.includeFilePath": {
"type": "boolean",
"default": true,
"description": "Include file path in copied text"
},
"YOCO.useBacktick": {
"type": "boolean",
"default": false,
"description": "Wrap codeblock with backticks"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test:vscode": "yarn run compile && vscode-test",
"test:mocha": "mocha --require ts-node/register src/test/**/*.spec.ts",
"lint-staged": "lint-staged",
"prepare": "husky"
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.88.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"mocha": "^10.4.0",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"dependencies": {
"@types/glob": "^8.1.0"
}
}