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

rf-hf-tools

v2.2.1

Published

## 模板生成命令 #### 全局安装 - (如之前有安装可以 先卸载 npm uninstall rf-hf-tools -g) - npm install rf-hf-tools -g

Downloads

4

Readme

rf-hf-tools web前端工具箱(类vue-cli等)

模板生成命令

全局安装

  • (如之前有安装可以 先卸载 npm uninstall rf-hf-tools -g)
  • npm install rf-hf-tools -g

如需下载特定版本 加@1.8.5(版本号)

npm install [email protected] -g

    Usage: main [options] [command]

    Options:
    -V, --version                  output the version number
    -project,--project [name]      build you develop project name
    -token,--apitoken [apitoken]   send your api token
    -author,--author [name]        send your author
    -trigger,--triggerName [name]  send your triggerName
    -branch,--gitBranch [name]     send your gitBranch/tags
    -autotag,--autotag [name]      auto creat your tags
    -host,--host [name]            send your jenkis host
    -file,--file [name]            send your file
    -newfile,--newfile [name]      send your newfile
    -imgMin,--k
    -h, --help                     display help for command

    Commands:
    setup [env]                    run setup commands for all envs
    git-tag [options] [env]        set git tag for all envs
    auto-replace-file [env]        run auto-replace-file for repalce file
    push [options] [env]           run push commands for all envs
    auto-serve [options] [env]     run auto-serve commands for all envs
    create                         run create template file commands
    uploadMini                     run upload miniprogrammer  commands
    imgMin [options]               Compress images by tinypng api
    help [command]                 display help for command

    Examples:
    $ custom-help --help
    $ custom-help -h

   代码执行模块:

    "dev": "npx hf-cli --project rfhouse-html-dev --gitBranch */dev_branch setup dev",
	"test": "npx hf-cli  --project rfhouse-html-test-bytag --gitBranch */dev_branch setup test",
    "build": "npx hf-cli --project rfhouse-html-bytag --branch xx setup build",
    "test:tag": "npx hf-cli --project rfhouse-html-test-bytag --autotag true setup test",
    "push": "npx hf-cli push -p true",
    "auto-tag": "npx hf-cli git-tag",
    "auto-replace": "npx hf-cli auto-replace-file",
    "auto-serve": "npx hf-cli auto-serve -p 8007",
    "upload": "npx hf-cli uploadMini"

自动生成模板

  • npx hf-cli create 即可运行生成文件交互式命令

模板类型

  • vue、小程序page、小程序component

注意

重要补丁和更新