Socket
Book a DemoInstallSign in
Socket

@maloulab/cli

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maloulab/cli

# 安装

1.0.8
latest
npmnpm
Version published
Maintainers
0
Created
Source

使用须知

安装

yarn global add @maloulab/cli

npm i @maloulab/cli -g

使用前

mac、windows 微信开发者工具先打开设置-安全设置-服务端口 开启开关

使用

默认配置 mac 微信开发工具 devTools 路径:/Applications/wechatwebdevtools.app/Contents/MacOS/cli windows 微信开发工具 devTools 路径:C:/Program Files (x86)/Tencent/微信 web 开发者工具/cli.bat 自动打开当前项目的文件夹:dist

没有配置的情况下,运行 weapp open,将自动打开微信开发者工具,并选中 dist 文件夹。

配置

项目下创建.malourc.json 或 malou.config.json

例.malourc.json

{
  // 微信开发工具 devTools 路径
  "devToolsPath": "/Applications/wechatwebdevtools.app/Contents/MacOS/cli",
  // 需要打开的文件夹名称,当前项目下的fileName
  "fileName": "dist",
  // 文件夹目录,配置后fileName无效
  "filePath": " /Users/admin/Documents/work_space/malou-cli/dist"
}

使用

malou open:weapp

Keywords

maloulab

FAQs

Package last updated on 11 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.