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

mediation-cli

v1.3.0

Published

peoples mediation plateform

Downloads

4

Readme

调解平台脚手架工具

问题

  • 每次创建新项目的时候需要重新看着Vue和React的脚手架一个一个敲或者拷贝之前的项目。
  • 新工程越来越多,调解平台前端没有一个基础的开发模板,每次都需要一个一个npm install
  • 从之前项目拷贝就无法获取最新的项目模板,这就导致有些问题明明在最新的模板中已经修复,却在新项目中依然存在
  • 配置繁琐、每次开发人员不同,导致每次的配置也都不同。
  • 从之前拷贝的项目,每个项目包版本、框架等都不同。
  • 代码结构不统一

展望

  • 能够让调解平台的开发人员创建新工程时能更加方便和快捷
  • 能够统一、同步调解平台项目的配置,方便后来的同事理解。
  • 能够完成一些公共模块、公共库建设在基础模板上
  • 统一调解平台的代码结构

维护

  1. 维护流程
  • vue模板维护:http://192.168.60.250:81/med-front/med-template 分支 vue
  • react模板维护:http://192.168.60.250:81/med-front/med-templatee 分支react
  1. 基础命令
  • 发布前更新包-npm version minor
  • 发布包-npm publish
  • 删除包-npm unpublish 包名@版本号
  • 删除整个包-npm unpublish 包名 --force

运行

  1. npm install mediation-template-cli -g
  2. 命令 med-cli init [projectName]
  3. [projectName] = 创建的项目名称