Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行项目命令 #3

Open
kscript opened this issue Nov 12, 2024 · 0 comments
Open

运行项目命令 #3

kscript opened this issue Nov 12, 2024 · 0 comments

Comments

@kscript
Copy link
Owner

kscript commented Nov 12, 2024

命令路径

shell/internal/package.reg

功能说明

注册两个右键菜单: 执行NPM脚本执行NPM脚本 隐藏窗口
找到 并 列出 当前目录 package.json 文件 scripts 对象的属性, 当用户选择命令后执行

运行环境

  • Windows
  • PowerShell

配置命令

  1. 将当前项目克隆到本地
  2. 找到项目文件夹, 再按 命令路径 找到命令, 双击即可注册右键菜单
  3. 注册右键菜单时, 系统会提示, 选择 即可. 到这一步, 命令就注册完成了

使用方法

  1. 在包含有package.json 文件的目录选择右键菜单 执行NPM脚本执行NPM脚本 隐藏窗口
  2. 在弹出的列表框, 选择要执行的命令, 并双击或回车确认
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant