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

ep-cli

v0.0.9

Published

项目快速构建工具

Downloads

23

Readme

ep-cli

需求

在日常开发中,项目启动时,大多情况都会从上次成熟的项目中,删减出最小项目架构,新项目框架不同,语言不同,又没有维护标准项目脚手架,会让人很抓狂,每次都要删减出最小项目架构,难以维护

解决

通过一次删减出最小架构,作为标准项目脚手架,单独维护,并使用当前工具,配置已提交代码库,通过当前工具直接拉取已维护已提交标准项目脚手架,一劳永逸,下次新项目开启,也不用 git 库中到处找合适的成熟项目中删减库了。任何语言都可配置在 config/index.ts 文件中

程序运行

npm install -g typescript

npm run start

npm run build

使用方法

npm install eq-cli -g

初始化命令

ep-cli init <projectName>
或者
ep-cli i <projectName>

工具选择

  • 可用于控制台选择的工具:inquirer 使用文档
  • 可处理控制台命令的工具:commander 使用文档
  • 可改变输出 log 颜色的工具:chalk 使用文档
  • 可执行 shell 命令的工具: child_process

注意事项

_ 当你完成脚手架开发时,你想本地测试是否成功运作,会出现这种情况 _

command not found: ep-cli

因为你本地找不到命令执行的路径,没有映射到 bin 中去

那就是用 npm link ep-cli

或者将文件夹拷贝至全局 node_modules ,配置全局 PATH,指向全局 node_modules/ep-cli/bin

发布

npm run build 更改 package 版本号 npm publish 更新到 npm

更新 npm 包

npm update ep-cli -g 或者 npm uninstall ep-cli -g 在 npm install ep-cli -g