52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"name": "vdi-acf-block-scaffold",
|
|
"displayName": "VDI ACF Block Scaffold",
|
|
"description": "Scaffold WordPress ACF blocks from a template.",
|
|
"version": "0.1.0",
|
|
"publisher": "keith-solomon",
|
|
"repository": "https://git.keithsolomon.net/keith/VsCode-Block-Scaffold",
|
|
"engines": {
|
|
"vscode": "^1.80.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "vdi-acf-block-scaffold.createBlock",
|
|
"title": "VDI: Create ACF Block"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "VDI ACF Block Scaffold",
|
|
"properties": {
|
|
"vdiAcfBlockScaffold.parentDirectory": {
|
|
"type": "string",
|
|
"default": "views/blocks",
|
|
"description": "Workspace-relative parent directory where new blocks are created."
|
|
}
|
|
}
|
|
},
|
|
"keybindings": [
|
|
{
|
|
"command": "vdi-acf-block-scaffold.createBlock",
|
|
"key": "ctrl+alt+b",
|
|
"mac": "cmd+alt+b",
|
|
"when": "editorTextFocus"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.11.30",
|
|
"@types/vscode": "^1.80.0",
|
|
"typescript": "^5.4.0"
|
|
}
|
|
}
|