npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

tt-minigame-ide-cli

v2.0.12

Published

Command line interface for micro app development

Downloads

94

Readme

tt-minigame-ide-cli

介绍

开发者工具提供了命令行供外部调用,开发者可以通过命令行工具进行登录、预览、上传等操作。

小游戏命令行工具已升级至 2.0.0 版本,在命令行使用方式上同 1.x.x 版本一致。默认情况下自 2.0.0 版本起,会采集部分行为数据以帮助我们了解如何更好地改进产品,您也可以通过 set-config 命令来禁止该行为。

命令行工具安装方式:

npm install -g tt-minigame-ide-cli

使用

设置全局配置

主要用于配置工具的全局代理

命令行使用

Usage: tmg set-config [options]

Set tt-ide-cli config

Options:
-p, --proxy <proxy>           Set global proxy(配置全局代理)
--default                     Use default(恢复为默认配置)
-r, --allow-report-event      允许采集使用行为(yes|no),默认为 yes

登录

登录到开发者平台。支持代理设置。

Usage: tmg login [options]

Login to the developer platform

Options:

  -m, --mobile         Login by mobile

  -e, --email          Login by email

  -p, --proxy <proxy>  Login with proxy

  -h, --help           output usage information

通过 email 登录

Usage: tmg login-e [email] [password]

Login to the developer platform by E-mail

Options:

  -p, --proxy <proxy>  Login with proxy

  -h, --help           Output usage information

登出(清除本地 session)

命令行使用

Usage: tmg logout

Logout and clear the session.

预览小游戏

将项目上传后,扫码二维码来预览小游戏。

Usage: tmg preview [options] [entry]

preview project by remote

Options:

  -f, --force          Preview project without local cache(deprecated)

  --disable-cache      Preview project without local cache

  -s, --small          Use small QR Code, but it does not take effect in some environments

  -u, --copy           Copy remote url to clipboard

  -p, --proxy <proxy>  Preview with proxy

  -h, --help           output usage information

  -o, --output <path>  QRCode image output path

上传项目

把项目上传到开发者平台进行发布。

Usage: tmg upload [options] [entry]

upload project to the developer platform

Options:

  -v, --app-version <version>  App version (eg: [major].[minor].[patch])

  -c, --app-changelog <log>    Changelog for this version

  -p, --proxy <proxy>          Update request proxy

  -u, --copy                  Copy remote url to clipboard

  -h, --help                   output usage information

  -o, --output <path>          QRCode image output path

获取项目版本

获取项目线上版本号。

Usage: tmg version [entry]

Get latest released version of project

构建 NPM

对应开发者工具 构建 NPM 功能

命令行使用

Usage: tmg build-npm [entry]

Build npm