Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.48 KB
/
Copy pathpackage.json
File metadata and controls
103 lines (103 loc) · 2.48 KB
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
{
"name": "vscode-wordpress-hooks",
"displayName": "WordPress Hooks IntelliSense",
"description": "IntelliSense and autocompletion for WordPress hooks, actions, and filters",
"version": "1.3.0",
"license": "GPL-3.0-or-later",
"publisher": "johnbillion",
"author": {
"name": "John Blackbourn"
},
"engines": {
"node": ">=16",
"vscode": "^1.39.0"
},
"categories": [
"Snippets"
],
"keywords": [
"wordpress",
"php",
"autocomplete",
"intellisense",
"hooks",
"actions",
"filters"
],
"sponsor": {
"url": "https://github.com/sponsors/johnbillion"
},
"repository": {
"type": "git",
"url": "https://github.com/wp-hooks/vscode-wordpress-hooks.git"
},
"bugs": {
"url": "https://github.com/wp-hooks/vscode-wordpress-hooks/issues"
},
"activationEvents": [
"onLanguage:php"
],
"contributes": {
"configuration": [
{
"title": "WordPress Hooks IntelliSense",
"properties": {
"vscode-wordpress-hooks.docBlocks.enable": {
"type": "boolean",
"default": true,
"description": "Add docblocks to autocompleted callback functions"
},
"vscode-wordpress-hooks.typeDeclarations.enable": {
"type": "boolean",
"default": true,
"description": "Add type declarations (also known as type hints) to autocompleted callback functions"
},
"vscode-wordpress-hooks.typeDeclarations.olderPhpVersionSupport": {
"type": "string",
"description": "PHP 7.2 or higher is required to support the full set of type declaration features. If you need to support an older version of PHP, select it here and only the types available in that version of PHP will be used",
"default": "None",
"enum": [
"None",
"7.1",
"7.0",
"5.6"
]
}
}
}
]
},
"galleryBanner": {
"color": "#0073aa",
"theme": "dark"
},
"icon": "images/icon.png",
"main": "./out/extension.js",
"extensionKind": [
"workspace",
"ui"
],
"scripts": {
"lint": "eslint -c .eslintrc.json --ext .ts src",
"deploy-vsce": "vsce publish",
"deploy-openvsx": "ovsx publish",
"vscode:prepublish": "npm run build",
"watch": "tsc --watch",
"build": "tsc"
},
"devDependencies": {
"@types/node": "^18",
"@types/vscode": "^1",
"@typescript-eslint/eslint-plugin": "^5",
"@typescript-eslint/parser": "^5",
"eslint": "^8",
"eslint-config-airbnb-base": "^15",
"eslint-plugin-import": "^2",
"ovsx": "^0.8.0",
"typescript": "^5",
"vsce": "^2"
},
"dependencies": {
"@wp-hooks/wordpress-core": "^1.6.0"
}
}