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

e-syncme-cli

v0.1.15-beta

Published

The cli for e-syncme.

Downloads

1

Readme

快速上手

  • 全局安装脚手架
npm install e-syncme-cli -g
  • 新建项目

    • 新建并自动安装依赖项
    syncme create
    • 选项 -ni | 添加此选项后,不会自动安装依赖项
    syncme create -ni

或者参考手动搭建SyncMe框架

  • 运行项目
syncme start
<!-- 或者在脚手架项目中 -->
npm run start
  • 构建项目生产版本
syncme build
<!-- 或者在脚手架项目中 -->
npm run build
手动搭建SyncMe框架项目
  • 安装依赖包
npm install e-syncme -save--dev
  • 运行项目
gulp --watch
  • 打包项目生产版本
gulp

建议在项目package.json中添加命令,使用npm run xxx运行

项目内命令
  • 创建模块
syncme m -c [name]

会以脚手架模板文件为基础,在项目根目录/src/pages下创建一个新的模块。 若键入名称为background,则按照background模块创建。 若指定位置已存在模块同名文件夹,则命令无效。

  • 删除模块
syncme m -d [name]

在项目根目录/src/pages下删除匹配name的模块文件夹。 若文件夹不存在,则会抛出错误。

  • 重命名模块
syncme m -r [oldname] [newname]

模块名称仅可包含英文字母、数字和下划线,并且以英文字母开头。