-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
162 lines (162 loc) · 4.67 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "angular-import",
"publisher": "lucasnbsb",
"pricing": "Free",
"displayName": "Angular Import",
"description": "Import into your module or standalone component with one command!",
"version": "1.3.1",
"repository": {
"url": "https://github.com/lucasnbsb/AngularImport"
},
"icon": "images/logo.png",
"engines": {
"vscode": "^1.0.0"
},
"categories": [
"Other",
"Keymaps"
],
"keywords": [
"Angular",
"Shortcut",
"Import",
"Imports",
"Frog"
],
"activationEvents": [
"onCommand:angular-import.goToImportStatement",
"onCommand:angular-import.goToComponentImportStatement",
"onCommand:angular-import.goToModuleImportStatement",
"onCommand:angular-import.goToConstructor"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "angular-import.goToImportStatement",
"title": "Angular: Go to import statement dictated by the configuration"
},
{
"command": "angular-import.goToComponentImportStatement",
"title": "Angular: Go to import statement in the corresponding component"
},
{
"command": "angular-import.goToModuleImportStatement",
"title": "Angular: Go to import statement in the corresponding module"
},
{
"command": "angular-import.goToConstructor",
"title": "Angular: Go to the constructor in the corresponding component"
}
],
"keybindings": [
{
"command": "angular-import.goToImportStatement",
"key": "shift+alt+y"
},
{
"command": "angular-import.goToConstructor",
"key": "shift+alt+t"
}
],
"configuration": [
{
"title": "Import statement type",
"properties": {
"angular-import.importStatementType": {
"type": "string",
"default": "auto",
"enum": [
"module",
"component",
"auto"
],
"description": "Where to look for the import statement"
}
}
},
{
"title": "Component formats",
"properties": {
"angular-import.componentFormats": {
"type": "array",
"default": [
"component.ts"
],
"description": "Component formats to look for when looking for the imports statement"
}
}
},
{
"title": "Module formats",
"properties": {
"angular-import.moduleFormats": {
"type": "array",
"default": [
"module.ts"
],
"description": "Module formats to look for when looking for the imports statement"
}
}
},
{
"title": "Cli file type extentions",
"properties": {
"angular-import.fileTypeExtentions": {
"type": "array",
"default": [
"component",
"module",
"service",
"guard",
"pipe",
"directive",
"resolver",
"interceptor",
"spec",
"worker"
],
"description": "Pseudo extentions that will be ignored when resolving the filename of the active file on activation. Add to this array if you have a custom dot-separated pseudo extention "
}
}
},
{
"title": "Open file side by side",
"properties": {
"angular-import.openFileSideBySide": {
"type": "boolean",
"default": false,
"description": "Open the file side by side"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "pnpm run check-types && pnpm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "pnpm run check-types && pnpm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.0.0",
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"eslint": "^8.57.0",
"esbuild": "^0.21.5",
"npm-run-all": "^4.1.5",
"typescript": "^5.4.5",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0"
}
}