-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
117 lines (117 loc) · 3.66 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
{
"name": "copy-with-imports",
"displayName": "Copy With Imports",
"description": "Copy over symbol imports when copying and pasting between TypeScript files.",
"version": "1.0.2",
"publisher": "stringham",
"engines": {
"vscode": "^1.79.0"
},
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/stringham/copy-with-imports"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"keywords": [
"typescript",
"import",
"copy",
"paste",
"auto"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "copy-with-imports.copy",
"title": "Copy with imports"
},
{
"command": "copy-with-imports.paste",
"title": "Paste with imports"
},
{
"command": "copy-with-imports.cut",
"title": "Cut with imports"
}
],
"configuration": {
"type": "object",
"title": "Copy With Imports configuration",
"properties": {
"copy-with-imports.path-relative-from-tsconfig": {
"type": "boolean",
"default": false,
"description": "When resolving relative paths, use classic module resolution from the tsconfig. This makes the import relative from the tsconfig.json"
},
"copy-with-imports.space-between-braces": {
"type": "boolean",
"default": false,
"description": "Add spaces between the braces in generated import statements"
},
"copy-with-imports.double-quotes": {
"type": "boolean",
"default": false,
"description": "Use double quotes instead of single quotes for the module specifier string"
}
}
},
"keybindings": [
{
"command": "copy-with-imports.copy",
"key": "ctrl+c",
"mac": "cmd+c",
"when": "editorTextFocus"
},
{
"command": "copy-with-imports.paste",
"key": "ctrl+v",
"mac": "cmd+v",
"when": "editorTextFocus"
},
{
"command": "copy-with-imports.cut",
"key": "ctrl+x",
"mac": "cmd+x",
"when": "editorTextFocus"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "npm run test-compile",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "1.79.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "^20.2.5",
"eslint": "^8.41.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"glob": "^7.1.6",
"mocha": "^10.2.0",
"typescript": "^5.1.3",
"vscode-test": "^1.5.0",
"ts-loader": "^8.0.14",
"webpack": "^5.19.0",
"webpack-cli": "^4.4.0",
"source-map-support": "0.5.21"
},
"dependencies": {
"typescript": "^5.1.3"
}
}