-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
127 lines (127 loc) · 3.42 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
{
"name": "laravel-extra-intellisense",
"displayName": "Laravel Extra Intellisense",
"description": "better intellisense for laravel projects.",
"version": "0.7.0",
"publisher": "amiralizadeh9480",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.83.0"
},
"categories": [
"Languages"
],
"activationEvents": [
"onLanguage:php",
"onLanguage:blade"
],
"repository": {
"type": "git",
"url": "https://github.com/amir9480/vscode-laravel-extra-intellisense"
},
"main": "./dist/extension.js",
"contributes": {
"configuration": [
{
"title": "Laravel Extra Intellisense",
"type": "object",
"properties": {
"LaravelExtraIntellisense.customValidationRules": {
"type": "object",
"default": {},
"description": "Custom validation rules snippets."
},
"LaravelExtraIntellisense.viewDirectorySeparator": {
"type": "string",
"default": ".",
"description": ". or /"
},
"LaravelExtraIntellisense.phpCommand": {
"type": "string",
"default": "php -r \"{code}\"",
"description": "PHP Command using to run PHP codes"
},
"LaravelExtraIntellisense.basePath": {
"type": "string",
"description": "Base path using to read files."
},
"LaravelExtraIntellisense.basePathForCode": {
"type": "string",
"description": "This base path using for require_once inside PHP code."
},
"LaravelExtraIntellisense.modelsPaths": {
"type": "array",
"default": [
"app",
"app/Models"
],
"description": "Path of models you put your model codes."
},
"LaravelExtraIntellisense.modelVariables": {
"type": "object",
"default": {
"user": "App\\Models\\User"
},
"description": "Variables that should provide model autocomplete."
},
"LaravelExtraIntellisense.modelAttributeCase": {
"type": "string",
"enum": [
"default",
"snake",
"camel"
],
"default": "default",
"description": "Change attribute name case to snake or camel."
},
"LaravelExtraIntellisense.modelAccessorCase": {
"type": "string",
"enum": [
"default",
"snake",
"camel"
],
"default": "snake",
"description": "Change accessor name case to snake or camel."
},
"LaravelExtraIntellisense.disableBlade": {
"type": "boolean",
"default": false,
"description": "If you want to disable blade directives autocomplete set this to true."
},
"LaravelExtraIntellisense.disableAuth": {
"type": "boolean",
"default": false,
"description": "If you want to disable authorization autocomplete set this to true."
},
"LaravelExtraIntellisense.disableErrorAlert": {
"type": "boolean",
"default": false,
"description": "Hide error alerts when extension can't get data from your application."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"compile": "webpack --mode development",
"watch": "webpack --mode development --watch",
"test": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx"
},
"dependencies": {
"php-parser": "^3.0.2"
},
"devDependencies": {
"@types/mocha": "^8.2.1",
"@types/node": "^14.14.31",
"@types/vscode": "^1.83.0",
"ts-loader": "^8.0.17",
"tslint": "^6.1.3",
"typescript": "^4.2.2",
"vscode-test": "^1.6.1",
"webpack": "^5.24.2",
"webpack-cli": "^4.5.0"
}
}