mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-04 03:47:36 +00:00
feat(cable): add extensive television cable channel configurations and related files
This commit is contained in:
1 parent
7c786f9349
commit
e9a7fd1fde
72 files changed
+2101
No files matched your search
@@ -0,0 +1,22 @@
|
||||
[metadata]
|
||||
name = "npm-scripts"
|
||||
description = "List and run npm scripts from package.json"
|
||||
requirements = ["jq"]
|
||||
|
||||
[source]
|
||||
command = "jq -r '.scripts | to_entries[] | \"\\(.key)\\t\\(.value)\"' package.json 2>/dev/null"
|
||||
display = "{split:\\t:0}"
|
||||
|
||||
[preview]
|
||||
command = "jq -r '.scripts[\"{split:\\t:0}\"]' package.json"
|
||||
|
||||
[ui.preview_panel]
|
||||
size = 30
|
||||
|
||||
[keybindings]
|
||||
enter = "actions:run"
|
||||
|
||||
[actions.run]
|
||||
description = "Run the selected npm script"
|
||||
command = "npm run '{split:\\t:0}'"
|
||||
mode = "execute"
|
||||
Reference in new issue
Block a user