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

yuadh-fecli

v0.1.1

Published

前端应用脚手架CLI@yuadh

Downloads

2

Readme

yaudh-fecli 是一个前端应用模板脚手架工具。其配置了前端开发的常用工具库如:ElementUI组件库、Vuex状态管理、VueRouter官方路由、Axios网络请求库、Eslint+Prettier等代码规范和Commit提交工具等等....大大减少了前端应用的配置初始化时间。 可选模板为adminwebmobileminiapp

  • admin : 中后台项目 —— 较少的交互和样式,注重中后台业务相关功能偏向业务用户
  • web: 应用型项目 —— 对UI和交互有较高要求,注重用户的体验和功能偏向普通用户
  • mobile: 移动端项目 —— 对集成移动端适配较高要求的,计划flutter、react native创建模板
  • miniapp:小程序项目 —— 应用于各类小程序的需求场景,计划uniapp、trao、原生创建模板

快速开始

⭐环境要求

  • Node 版本 > 18.0.0
  • yarn/pnpm 包管理工具,非必须

因为是前端项目脚手架工具, 而使用 JavaScript 编写的脚本程序前端启动必需安装 Node,所以不使用 shell脚本编写quick-start:输入以下命令即可开始配置你的前端应用程序

npx yuadh-fecli create

初次使用,会提示需要安装相关依赖。回车即可image.png按照提示信息创建你的应用配置信息:image.png正常情况下, 环境和配置无误的情况下就正常生成了你的应用程序只需要和一般的前端项目一样安装依赖,启动项目即可

npm install #安装依赖
npm run dev #启动项目
#### 强烈推荐使用 yarn/pnpm 包管理工具
yarn #安装依赖    
yarn dev #启动项目

更多用法

可以使用带参形式减少配置步骤使用方式:npx yuadh-fecli [options] 参数说明:

  • -a/--app-name 项目应用名称,可选
  • -t/--template 项目应用模板[admin/web/mobile/miniapp],可选
  • -h/--help 脚手架帮助文档,该参数为单独携带使用
  • -v/--version 脚手架版本信息,该参数为单独携带使用

使用示例:npx yuadh-fecli -a my-admin-app -t admin

迭代计划

  • [ ] 更加规范模板的代码风格:Eslint+Prettier+stylelint
  • [ ] 更加规范模板仓库git的Commit提交:Husky+Lint-Staged + Commitlint + Commitizen
  • [ ] 添加 webmobileminiapp等更多模板
  • [ ] 接入 dockergitlab-CI/CD多环境、云原生等....
  • [ ] 学习接入更多优秀的脚手架工具模块等...

开源地址