-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 4.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
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
{
"name": "navigate-rails-files",
"displayName": "Navigate Rails Files",
"description": "Navigate Rails files quickly",
"version": "0.0.1",
"publisher": "ozovalihasan",
"license": "MIT",
"engines": {
"vscode": "^1.79.0"
},
"categories": [
"Other",
"Keymaps"
],
"keywords": [
"ruby on rails",
"rails",
"shortcut",
"navigate"
],
"icon": "img/icon.png",
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "navigateRailsFiles.openRbFile",
"title": "Open files including .rb in the folder '/app'",
"when": "navigateRailsFiles.allowToOpenRbFile"
},
{
"command": "navigateRailsFiles.changeToAppHtmlFile",
"title": "Open files ending with turbo_stream.erb or html.erb in the folder '/app'",
"when": "navigateRailsFiles.allowToOpenAppHtmlFile"
},
{
"command": "navigateRailsFiles.changeToAppTurboStreamFile",
"title": "Open files ending with turbo_stream.erb or html.erb in the folder '/app'",
"when": "navigateRailsFiles.allowToOpenAppTurboStreamFile"
},
{
"command": "navigateRailsFiles.changeToRspecFile",
"title": "Open files in the folder '/spec'",
"when": "navigateRailsFiles.allowToOpenRspecFile"
}
],
"keybindings": [
{
"command": "navigateRailsFiles.openRbFile",
"key": "alt+i"
},
{
"command": "navigateRailsFiles.changeToAppHtmlFile",
"key": "alt+o"
},
{
"command": "navigateRailsFiles.changeToAppTurboStreamFile",
"key": "alt+u"
},
{
"command": "navigateRailsFiles.changeToRspecFile",
"key": "alt+p"
}
],
"configuration": {
"type": "object",
"properties": {
"navigateRailsFiles.templateEngines": {
"type": "array",
"default": ["erb", "slim", "haml"],
"description": "Template engines to check file names"
},
"navigateRailsFiles.useViewComponentsSidecar": {
"type": "boolean",
"default": false,
"description": "Enable to use view components in the sidecar directory"
},
"navigateRailsFiles.allowToOpenRbFile": {
"type": "boolean",
"default": true,
"description": "Enable to open files ending with .rb in the folder '/app'"
},
"navigateRailsFiles.allowToOpenAppHtmlFile": {
"type": "boolean",
"default": true,
"description": "Enable to open files ending with .html.erb or .turbo_stream.erb in the folder '/app'"
},
"navigateRailsFiles.allowToOpenAppTurboStreamFile": {
"type": "boolean",
"default": true,
"description": "Enable to open files ending with .turbo_stream.erb in the folder '/app'"
},
"navigateRailsFiles.allowToOpenRspecFile": {
"type": "boolean",
"default": true,
"description": "Enable to open files in the folder '/spec'"
}
}
}
},
"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": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/glob": "^8.0.1",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/sinon": "^10.0.15",
"@types/vscode": "^1.79.0",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"@vscode/test-electron": "^2.2.2",
"chai": "^4.3.7",
"eslint": "^8.33.0",
"glob": "^8.1.0",
"mocha": "^10.1.0",
"sinon": "^15.2.0",
"typescript": "^4.9.4"
},
"repository": {
"type": "git",
"url": "https://github.com/ozovalihasan/navigate-rails-files"
},
"bugs": {
"url": "https://github.com/ozovalihasan/navigate-rails-files/issues"
},
"homepage": "https://github.com/ozovalihasan/navigate-rails-files/blob/main/README.md"
}