-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
89 lines (89 loc) · 2.24 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
{
"name": "rails-routes-codelens",
"displayName": "Rails Routes CodeLens",
"version": "1.1.7",
"description": "Shows Rails routes above their controller actions",
"repository": "https://github.com/Anx450z/route-map",
"publisher": "anx450z",
"icon": "icons/icon.png",
"engines": {
"vscode": "^1.76.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:ruby",
"onLanguage:erb"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "ruby",
"extensions": [
".rb",
".ruby"
]
},
{
"id": "erb",
"extensions": [
".erb",
".html.erb"
]
}
],
"configuration": {
"type": "object",
"title": "Rails Route Codelens",
"properties": {
"RailsRouteCodelens.showRoute": {
"type": "boolean",
"default": true,
"description": "Show route information for controller#actions"
},
"RailsRouteCodelens.showTables": {
"type": "boolean",
"default": true,
"description": "Show table names for model"
},
"RailsRouteCodelens.showModels": {
"type": "boolean",
"default": true,
"description": "Show models name for tables in schema"
},
"RailsRouteCodelens.showControllers": {
"type": "boolean",
"default": true,
"description": "Show controllers name and action in view files"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/pluralize": "^0.0.30",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vscode/test-electron": "^2.3.0",
"eslint": "^8.36.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5"
},
"dependencies": {
"pluralize": "^8.0.0"
}
}